ansible / ansible.builtin / v2.9.27 / callback / foreman Sends events to Foreman | "added in version" 2.2 of ansible.builtin" Authors: unknownansible.builtin.foreman (v2.9.27) — callback
pip
Install with pip install ansible==2.9.27
This callback will report facts and task events to Foreman https://theforeman.org/
Before 2.4, if you wanted to use an ini configuration, the file must be placed in the same directory as this plugin and named foreman.ini
In 2.4 and above you can just put it in the main Ansible configuration file.
url: default: http://localhost:3000 description: URL to the Foreman server env: - name: FOREMAN_URL ini: - key: url section: callback_foreman required: true client_key: aliases: - ssl_key default: /etc/foreman/client_key.pem description: the corresponding private key env: - name: FOREMAN_SSL_KEY ini: - key: ssl_key section: callback_foreman - key: client_key section: callback_foreman client_cert: aliases: - ssl_cert default: /etc/foreman/client_cert.pem description: X509 certificate to authenticate to Foreman if https is used env: - name: FOREMAN_SSL_CERT ini: - key: ssl_cert section: callback_foreman - key: client_cert section: callback_foreman verify_certs: default: 1 description: - 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. env: - name: FOREMAN_SSL_VERIFY ini: - key: verify_certs section: callback_foreman