ansible-roles/evoacme/handlers/main.yml

16 lines
241 B
YAML

- name: newaliases
command: newaliases
- name: Test Apache conf
shell: apache2ctl -t
notify: "Reload Apache conf"
- name: reload apache2
service:
name: apache2
state: reloaded
- name: apt update
apt:
update_cache: yes