redhat.satellite.smart_class_parameter – Manage Smart Class Parameters¶
Note
This plugin is part of the redhat.satellite collection (version 2.1.0).
To install it use: ansible-galaxy collection install redhat.satellite
.
To use it in a playbook, specify: redhat.satellite.smart_class_parameter
.
New in version 1.0.0: of redhat.satellite
Synopsis¶
Update Smart Class Parameters.
Smart Class Parameters are created/deleted for Puppet classes during import and cannot be created or deleted otherwise.
Parameters¶
Examples¶
- name: "Update prometheus::server alertmanagers_config param default value"
redhat.satellite.smart_class_parameter:
puppetclass_name: "prometheus::server"
parameter: alertmanagers_config
override: true
required: true
default_value: /etc/prometheus/alert.yml
server_url: "https://satellite.example.com"
username: "admin"
password: "changeme"
state: present
- name: "Update prometheus::server alertmanagers_config param default value"
redhat.satellite.smart_class_parameter:
puppetclass_name: "prometheus::server"
parameter: alertmanagers_config
override: true
override_value_order:
- fqdn
- hostgroup
- domain
required: true
default_value: /etc/prometheus/alert.yml
server_url: "https://satellite.example.com"
username: "admin"
password: "changeme"
override_values:
- match: domain=example.com
value: foo
- match: domain=foo.example.com
omit: true
state: present
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Baptiste Agasse (@bagasse)