feat: Switch to CoreOS

This commit is contained in:
2025-02-27 15:18:25 +01:00
parent 14e5cb0537
commit 745fd321ea
10 changed files with 143 additions and 257 deletions

View File

@@ -1,32 +1,12 @@
---
# handlers file for exim4
# source: https://github.com/containers/buildah/issues/5440#issuecomment-2028911573
- name: Corriger le problème passt VS pasta
- name: Set default permissions on volumes folders
ansible.builtin.file:
state: hard
force: true
src: /usr/bin/passt
dest: /usr/bin/pasta
when: podman_fix_pasta
become: true
- 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
path: "{{ item.path }}"
owner: "{{ podman_user }}"
group: "{{ podman_user }}"
become: true
loop: "{{ folders.results | selectattr('changed', 'equalto', true) }}"
loop_control:
label: "{{ item.path }}"