ansible-base/roles/icinga2_server/tasks/install_icinga2.yml

18 lines
372 B
YAML
Raw Normal View History

2020-10-02 22:35:00 +02:00
---
- name: Icinga2 installed
package:
name: "{{ icinga2_server_icinga2_package }}"
state: present
- name: Monitoring-plugins installed
package:
name: "{{ icinga2_server_monitoring_plugins_package }}"
state: present
- name: Icinga2 started and enabled
service:
name: '{{ icinga2_server_icinga2_service }}'
enabled: true
state: started