Skip to content
Extraits de code Groupes Projets
Valider 46d826b9 rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

fix: collect Docker facts only for servers in maintenance

parent a60e47bd
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
owner: root owner: root
group: root group: root
mode: '0700' mode: '0700'
when: inventory_hostname in groups.maintenance_contract
- name: Add cron job to check Docker versions every day - name: Add cron job to check Docker versions every day
ansible.builtin.cron: ansible.builtin.cron:
...@@ -121,6 +122,7 @@ ...@@ -121,6 +122,7 @@
minute: "1" minute: "1"
hour: "2" hour: "2"
job: /root/collect_docker_facts.sh job: /root/collect_docker_facts.sh
when: inventory_hostname in groups.maintenance_contract
# Flush handlers in order to be able to restart docker daemon with new config and retrieve vars # Flush handlers in order to be able to restart docker daemon with new config and retrieve vars
- name: Flush handlers - name: Flush handlers
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter