Ansible: Nützliche playbooks für den linux admin

Einige mützliche Ansible playbooks vorgestellt. Mittels folgendem Ansible playbook lässt sich nrpe sowohl auf RHEL/CentOS wie auch auf Debian hosts installieren: icinga-client.yaml — – hosts: monitored-servers tasks: # NRPE nad nagios-plugins – name: nrpe installation yum: pkg=nrpe state=latest yum: pkg=nagios-plugins-all state=latest when: ansible_os_family == "RedHat" – name: nrpe installation apt: pkg=nagios-nrpe-server state=latest apt: pkg=nagios-plugins state=latest … Ansible: Nützliche playbooks für den linux admin weiterlesen