On this page
theforeman.foreman.foreman – Sends events to Foreman
Note
This plugin is part of the theforeman.foreman collection (version 1.5.1).
To install it use: ansible-galaxy collection install theforeman.foreman
.
To use it in a playbook, specify: theforeman.foreman.foreman
.
Synopsis
- This callback will report facts and task events to Foreman
Requirements
The below requirements are needed on the local controller node that executes this callback.
- whitelisting in configuration
- requests (python library)
Parameters
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
client_cert
string
|
Default:
"/etc/foreman/client_cert.pem"
|
ini entries:
[callback_foreman] [callback_foreman]
env:FOREMAN_SSL_CERT
|
X509 certificate to authenticate to Foreman if https is used
aliases: ssl_cert |
client_key
string
|
Default:
"/etc/foreman/client_key.pem"
|
ini entries:
[callback_foreman] [callback_foreman]
env:FOREMAN_SSL_KEY
|
the corresponding private key
aliases: ssl_key |
url
string / required
|
Default:
"http://localhost:3000"
|
ini entries:
[callback_foreman]
env:FOREMAN_URL
env:FOREMAN_SERVER_URL
env:FOREMAN_SERVER
|
URL of the Foreman server.
|
verify_certs
string
|
Default:
1
|
ini entries:
[callback_foreman]
env:FOREMAN_SSL_VERIFY
|
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.
|
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/theforeman/foreman/foreman_callback.html