ansible-base/roles/icinga2_server/handlers/main.yml

19 lines
357 B
YAML
Raw Normal View History

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