theforeman / theforeman.foreman / 4.0.0 / module / setting Manage Settings | "added in version" 1.0.0 of theforeman.foreman" Authors: Matthias M Dellweg (@mdellweg) ATIX AGtheforeman.foreman.setting (4.0.0) — module
Install with ansible-galaxy collection install theforeman.foreman:==4.0.0
collections: - name: theforeman.foreman version: 4.0.0
Manage Settings
- name: "Set a Setting" theforeman.foreman.setting: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "http_proxy" value: "http://localhost:8088"
- name: "Reset a Setting" theforeman.foreman.setting: username: "admin" password: "changeme" server_url: "https://foreman.example.com" name: "http_proxy"
name: description: - Name of the Setting required: true type: str value: description: - value to set the Setting to - if missing, reset to default required: false type: raw password: description: - Password of the user accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_PASSWORD) will be used instead. required: true type: str username: description: - Username accessing the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_USERNAME) will be used instead. required: true type: str server_url: description: - URL of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_SERVER_URL) will be used instead. required: true type: str validate_certs: default: true description: - Whether or not to verify the TLS certificates of the Foreman server. - If the value is not specified in the task, the value of environment variable C(FOREMAN_VALIDATE_CERTS) will be used instead. type: bool
entity: contains: settings: description: List of settings. elements: dict type: list description: Final state of the affected entities grouped by their type. returned: success type: dict foreman_setting: description: Created / Updated state of the setting (deprecated) returned: success type: dict