ansible.builtin.foreman (v2.9.27) — callback

Sends events to Foreman

| "added in version" 2.2 of ansible.builtin"

Authors: unknown

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

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

Inputs

    
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