Compare commits

..

No commits in common. "91e8739aedb34767608d167e95e7f6a629cdf0ad" and "1dd6ac97b92a7fd9e170af2fde8b5785af82a14a" have entirely different histories.

5 changed files with 0 additions and 36 deletions

View File

@ -28,12 +28,6 @@ $ ansible-galaxy install -fr requirements.yml
## Variables ## 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 ### podman_containers
Définition des conteneurs à déployer. Définition des conteneurs à déployer.

View File

@ -1,8 +1,6 @@
--- ---
# defaults file for podman # defaults file for podman
podman_configure_rsyslog: true
podman_containers: [] podman_containers: []
# Exemple: # Exemple:
# - image: docker.io/wallabag/wallabag:latest # - image: docker.io/wallabag/wallabag:latest

View File

@ -1,8 +0,0 @@
---
# handlers file for exim4
- name: Redémarrer rsyslog.service
ansible.builtin.systemd:
state: restarted
name: rsyslog.service
become: true

View File

@ -11,14 +11,3 @@
- systemd-container - systemd-container
state: present state: present
become: true 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

View File

@ -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 %}