.. Document meta :orphan: .. Anchors .. _ansible_collections.theforeman.foreman.foreman_callback: .. Anchors: short name for ansible.builtin .. Anchors: aliases .. Title theforeman.foreman.foreman -- Sends events to Foreman +++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: This plugin is part of the `theforeman.foreman collection `_. To install it use: :code:`ansible-galaxy collection install theforeman.foreman`. To use it in a playbook, specify: :code:`theforeman.foreman.foreman`. .. version_added .. contents:: :local: :depth: 1 .. Deprecated Synopsis -------- .. Description - This callback will report facts and task events to Foreman .. Aliases .. Requirements Requirements ------------ The below requirements are needed on the local controller node that executes this callback. - whitelisting in configuration - requests (python library) .. Options Parameters ---------- .. raw:: html
Parameter Choices/Defaults Configuration Comments
client_cert
string
Default:
"/etc/foreman/client_cert.pem"
ini entries:

[callback_foreman]
ssl_cert = /etc/foreman/client_cert.pem

[callback_foreman]
client_cert = /etc/foreman/client_cert.pem

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]
ssl_key = /etc/foreman/client_key.pem

[callback_foreman]
client_key = /etc/foreman/client_key.pem

env:FOREMAN_SSL_KEY
the corresponding private key

aliases: ssl_key
url
string / required
Default:
"http://localhost:3000"
ini entries:

[callback_foreman]
url = http://localhost:3000

env:FOREMAN_URL
URL to the Foreman server
verify_certs
string
Default:
1
ini entries:

[callback_foreman]
verify_certs = 1

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.

.. Notes .. Seealso .. Examples .. Facts .. Return values .. Status (Presently only deprecated) .. Authors .. Parsing errors