34 lines
793 B
YAML
34 lines
793 B
YAML
---
|
|
# tasks file for podman
|
|
|
|
- name: Installer les paquets
|
|
ansible.builtin.apt:
|
|
name: "{{ podman_packages }}"
|
|
install_recommends: true
|
|
state: present
|
|
become: true
|
|
notify:
|
|
- Fix passt VS pasta
|
|
- Restart instance
|
|
- Wait SSH is ready
|
|
|
|
- name: Exécuter les handlers
|
|
ansible.builtin.meta: flush_handlers
|
|
|
|
- name: Déployer la configuration de rsyslog
|
|
ansible.builtin.template:
|
|
src: templates/rsyslog.conf.j2
|
|
dest: /etc/rsyslog.d/10-podman.conf
|
|
owner: root
|
|
group: root
|
|
mode: u=rw,g=r,o=r
|
|
when: podman_configure_rsyslog
|
|
become: true
|
|
notify: Restart rsyslog.service
|
|
|
|
- name: Désactiver le service de mise à jour automatique pour root
|
|
ansible.builtin.systemd_service:
|
|
name: podman-auto-update.timer
|
|
enabled: false
|
|
become: true
|