You've already forked role_podman
feat: Use ansible module for podman
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
---
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user