qiyutech.foreman.hl_provision_template module – Foreman Provision 模版

备注

This module is part of the qiyutech.foreman collection (version 1.0.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install qiyutech.foreman.

To use it in a playbook, specify: qiyutech.foreman.hl_provision_template.

1.0.0 新版功能: of qiyutech.foreman

Synopsis

  • Foreman Provision Template 模版

备注

This module has a corresponding action plugin.

Parameters

Parameter

Comments

Bootdisk_template_file

string

foreman Bootdisk 模版内容

模版内容文件 [erb] 模版文件

Bootdisk_template_meta

string

foreman Bootdisk 模版配置

除了模版内容之外的配置

cloud_init_template_file

string

foreman cloud-init 模版内容

除了模版内容之外的配置

cloud_init_template_meta

string

foreman cloud-init 模版配置

除了模版内容之外的配置

finish_template_file

string

foreman finish 模版内容

除了模版内容之外的配置

finish_template_meta

string

foreman finish 模版配置

除了模版内容之外的配置

host_init_config_template_file

string

foreman host_init_config 模版内容

模版内容文件 [erb] 模版文件

host_init_config_template_meta

string

foreman host_init_config 模版配置

除了模版内容之外的配置

iPXE_template_file

string

foreman iPXE 模版内容

除了模版内容之外的配置

iPXE_template_meta

string

foreman iPXE 模版配置

除了模版内容之外的配置

password

string

Foreman password

此参数是必须的

获取参数顺序:

1 password 任务参数

2 foreman_password 变量 (aka: task_vars 中的 foreman_password 变量)

3 FOREMAN_PASSWORD 任务环境变量

4 FOREMAN_PASSWORD 全局环境变量

POAP_template_file

string

foreman POAP 模版内容

除了模版内容之外的配置

POAP_template_meta

string

foreman POAP 模版配置

除了模版内容之外的配置

provision_template_file

string

foreman provision 模版内容

除了模版内容之外的配置

provision_template_meta

string

foreman provision 模版配置

除了模版内容之外的配置

PXEGrub2_template_file

string

foreman PXEGrub2 模版内容

除了模版内容之外的配置

PXEGrub2_template_meta

string

foreman PXEGrub2 模版配置

除了模版内容之外的配置

PXEGrub_template_file

string

foreman PXEGrub 模版内容

除了模版内容之外的配置

PXEGrub_template_meta

string

foreman PXEGrub 模版配置

除了模版内容之外的配置

PXELinux_template_file

string

foreman PXELinux 模版内容

除了模版内容之外的配置

PXELinux_template_meta

string

foreman PXELinux 模版配置

除了模版内容之外的配置

registration_template_file

string

foreman registration 模版内容

除了模版内容之外的配置

registration_template_meta

string

foreman registration 模版配置

除了模版内容之外的配置

script_template_file

string

foreman script 模版内容

除了模版内容之外的配置

script_template_meta

string

foreman script 模版配置

除了模版内容之外的配置

server_url

string

Foreman Server URL

此参数是必须的

获取参数顺序:

1 server_url 任务参数

2 foreman_server_url 变量 (aka: task_vars 中的 foreman_server_url 变量)

3 FOREMAN_SERVER_URL 任务环境变量

4 FOREMAN_SERVER_URL 全局环境变量

user_data_template_file

string

foreman user_data 模版内容

除了模版内容之外的配置

user_data_template_meta

string

foreman user_data 模版配置

除了模版内容之外的配置

username

string

Foreman username

此参数是必须的

获取参数顺序:

1 username 任务参数

2 foreman_username 变量 (aka: task_vars 中的 foreman_username 变量)

3 FOREMAN_USERNAME 任务环境变量

4 FOREMAN_USERNAME 全局环境变量

ZTP_template_file

string

foreman ZTP 模版内容

除了模版内容之外的配置

ZTP_template_meta

string

foreman ZTP 模版配置

除了模版内容之外的配置

Examples

- name: Foreman Provision 模版 详情
  qiyutech.foreman.hl_provision_template
    Bootdisk_template_meta: path/to/meta/file
    Bootdisk_template_file: path/to/meta/file

Authors

  • dev