Compare commits
No commits in common. "91e8739aedb34767608d167e95e7f6a629cdf0ad" and "1dd6ac97b92a7fd9e170af2fde8b5785af82a14a" have entirely different histories.
91e8739aed
...
1dd6ac97b9
@ -28,12 +28,6 @@ $ ansible-galaxy install -fr requirements.yml
|
||||
|
||||
## Variables
|
||||
|
||||
### podman_configure_rsyslog
|
||||
|
||||
Désactive les messages du programme *podman* et des programmes dans les conteneurs si ils portent le nom du conteneur.
|
||||
|
||||
<span style="text-decoration: underline">Valeur par défaut:</span> `true` (activé, `false` pour désactiver)
|
||||
|
||||
### podman_containers
|
||||
|
||||
Définition des conteneurs à déployer.
|
||||
|
@ -1,8 +1,6 @@
|
||||
---
|
||||
# defaults file for podman
|
||||
|
||||
podman_configure_rsyslog: true
|
||||
|
||||
podman_containers: []
|
||||
# Exemple:
|
||||
# - image: docker.io/wallabag/wallabag:latest
|
||||
|
@ -1,8 +0,0 @@
|
||||
---
|
||||
# handlers file for exim4
|
||||
|
||||
- name: Redémarrer rsyslog.service
|
||||
ansible.builtin.systemd:
|
||||
state: restarted
|
||||
name: rsyslog.service
|
||||
become: true
|
@ -11,14 +11,3 @@
|
||||
- systemd-container
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- 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: Redémarrer rsyslog.service
|
||||
|
@ -1,9 +0,0 @@
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# Don't log podman
|
||||
:programname, contains, "podman" stop
|
||||
|
||||
# Don't log progams inside podman container
|
||||
{% for container in podman_containers %}
|
||||
:programname, contains, "{{ container.name }}" stop
|
||||
{% endfor %}
|
Loading…
Reference in New Issue
Block a user