theforeman / theforeman.foreman / 4.0.0 / module / smart_class_parameter_override_value Manage Smart Class Parameter Override Values | "added in version" 3.14.0 of theforeman.foreman" Authors: Evgeni Golov (@evgeni)theforeman.foreman.smart_class_parameter_override_value (4.0.0) — module
Install with ansible-galaxy collection install theforeman.foreman:==4.0.0
collections: - name: theforeman.foreman version: 4.0.0
Manage Smart Class Parameter Override Values
- name: Set ntp::servers override value theforeman.foreman.smart_class_parameter_override_value: server_url: "https://foreman.example.com" username: "admin" password: "changeme" puppetclass: ntp smart_class_parameter: servers match: domain=example.org value: - ntp1.example.org - ntp2.example.org state: present
omit: description: - Foreman will not send this parameter in classification output required: false type: bool match: description: - Override match required: true type: str state: choices: - present - absent default: present description: - State of the entity type: str value: description: - Override value, required if omit is false 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 puppetclass: aliases: - puppetclass_name description: - Puppet Class the Smart Class Parameter belongs to 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 smart_class_parameter: aliases: - parameter description: - Smart Class Parameter the Override Value belongs to required: true type: str
entity: contains: override_values: description: List of override_values. elements: dict type: list description: Final state of the affected entities grouped by their type. returned: success type: dict