Using ansible to generate the Icinga Client Certificates

This forum was archived to /woltlab and is now in read-only mode. Please register a new account on our new community platform.

You can create a thread on the new site and link to an archived thread. This archive is available as knowledge base, safe and secured.

More details here.
  • Hello All,

    I wanted to share the following playbook that I use for generating the Icinga2 Client certificates on my nodes

    You need to install ansible on a node and generate your hosts file

    1. [monitoring-servers]
    3. [agents]

    The playbook can the be run as follows

    1. ansible-playbook /etc/ansible/playbooks/icinga2_generate_certs.yml -e
  • Hello claudekenni,

    thanks for this post, I used the PKI part from your playbook in my Ansible playbook that deploys Icinga2 to my VMs.