2024-04-18 19:26:32 +00:00
|
|
|
---
|
|
|
|
# handlers file for exim4
|
|
|
|
|
2024-06-06 00:16:51 +00:00
|
|
|
- name: Redémarrer l'instance
|
|
|
|
ansible.builtin.reboot:
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: Attendre que le port SSH soit ouvert
|
|
|
|
ansible.builtin.wait_for:
|
|
|
|
host: "{{ podman_ssh_host }}"
|
|
|
|
port: "{{ podman_ssh_port }}"
|
|
|
|
search_regex: OpenSSH
|
|
|
|
delay: 30
|
|
|
|
timeout: 900
|
|
|
|
sleep: 10
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
|
2024-04-18 19:26:32 +00:00
|
|
|
- name: Redémarrer rsyslog.service
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
state: restarted
|
|
|
|
name: rsyslog.service
|
|
|
|
become: true
|