codeaffen.foreman.foreman (1.3.0) — callback

Sends events to Foreman

Authors: unknown

Install collection

Install with ansible-galaxy collection install codeaffen.foreman:==1.3.0


Add to requirements.yml

  collections:
    - name: codeaffen.foreman
      version: 1.3.0

Description

This callback will report facts and task events to Foreman


Requirements

Inputs

    
url:
    default: http://localhost:3000
    description:
    - URL of the Foreman server.
    env:
    - name: FOREMAN_URL
    - name: FOREMAN_SERVER_URL
    - name: FOREMAN_SERVER
    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