2020-10-02 22:35:00 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: package repository updated
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
|
|
|
|
- name: "restart icinga2"
|
|
|
|
service:
|
|
|
|
name: "{{ icinga2_server_icinga2_service }}"
|
|
|
|
enabled: yes
|
|
|
|
state: restarted
|
2020-10-03 12:00:19 +02:00
|
|
|
|
|
|
|
- name: "restart apache2"
|
|
|
|
service:
|
|
|
|
name: "{{ icinga2_server_apache2_service }}"
|
|
|
|
enabled: yes
|
|
|
|
state: restarted
|