On this page
foreman - Sends events to Foreman
New in version 2.2.
Synopsis
- 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.
Requirements
The below requirements are needed on the local master node that executes this callback.
- whitelisting in configuration
- requests (python library)
Parameters
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
ssl_cert | Default:
"/etc/foreman/client_cert.pem"
|
ini entries:
[callback_foreman ]
env:FOREMAN_SSL_CERT
|
X509 certificate to authenticate to Foreman if https is used
|
ssl_key | Default:
"/etc/foreman/client_key.pem"
|
ini entries:
[callback_foreman ]
env:FOREMAN_SSL_KEY
|
the corresponding private key
|
url
required
|
Default:
"http://localhost:3000"
|
ini entries:
[callback_foreman ]
env:FOREMAN_URL
|
URL to the Foreman server
|
verify_certs | Default:
1
|
ini entries:
[callback_foreman ]
env:FOREMAN_SSL_VERIFY
|
Toggle to decidewhether 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.
|
Status
Author
- UNKNOWN
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.6/plugins/callback/foreman.html