feat: play with tags

This commit is contained in:
Simon Cornet 2025-11-10 15:23:40 +01:00
commit fe4b3d2a97

View file

@ -9,21 +9,15 @@
# force update time # force update time
- name: "force update time using chrony" - name: "force update time using chrony"
tags: tags: "chrony"
- "chrony"
- "never"
ansible.builtin.include_tasks: "tasks/chrony.yaml" ansible.builtin.include_tasks: "tasks/chrony.yaml"
# install updates # install updates
- name: "install updates" - name: "install updates"
tags: tags: "update"
- "update"
- "never"
ansible.builtin.include_tasks: "tasks/update.yaml" ansible.builtin.include_tasks: "tasks/update.yaml"
# initiate reboot # initiate reboot
- name: "initiate reboot" - name: "initiate reboot"
tags: tags: "reboot"
- "reboot"
- "never"
ansible.builtin.include_tasks: "tasks/reboot.yaml" ansible.builtin.include_tasks: "tasks/reboot.yaml"