Note
This callback plugin is part of the theforeman.foreman collection (version 4.2.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 theforeman.foreman. You need further requirements to be able to use this callback plugin, see Requirements for details.
To use it in a playbook, specify: theforeman.foreman.foreman.
This plugin is a notification callback. It sends information for a playbook run to other applications, services, or systems. See Callback plugins for more information on callback plugins.
The below requirements are needed on the local controller node that executes this callback.
Parameter | Comments |
|---|---|
client_cert aliases: ssl_cert string | X509 certificate to authenticate to Foreman if https is used Default: Configuration:
|
client_key aliases: ssl_key string | the corresponding private key Default: Configuration:
|
dir_store string | When set, callback does not perform HTTP calls but stores results in a given directory. For each report, new file in the form of SEQ_NO-hostname.json is created. For each facts, new file in the form of SEQ_NO-hostname.json is created. The value must be a valid directory. This is meant for debugging and testing purposes. When set to blank (default) this functionality is turned off. Default: Configuration:
|
disable_callback string | Toggle to make the callback plugin disable itself even if it is loaded. It can be set to ‘1’ to prevent the plugin from being used even if it gets loaded. Default: Configuration:
|
proxy_url string | URL of the Foreman Smart Proxy server. Configuration:
|
report_type string | endpoint type for reports: foreman or proxy Default: Configuration:
|
url string / required | URL of the Foreman server. Configuration:
|
verify_certs string | Toggle to decide whether to verify the Foreman certificate. It can be set to ‘1’ to verify SSL certificates using the installed CAs or to a path pointing to a CA bundle. Set to ‘0’ to disable certificate checking. Default: Configuration:
|
Note
Configuration entries listed above for each entry type (Ansible variable, environment variable, and so on) have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up. The entry types are also ordered by precedence from low to high priority order. For example, an ansible.cfg entry (further up in the list) is overwritten by an Ansible variable (further down in the list).
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/theforeman/foreman/foreman_callback.html