--- # handlers file for exim4 - 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 - name: Redémarrer rsyslog.service ansible.builtin.systemd: state: restarted name: rsyslog.service become: true