fix: import_tasks to make tags work

This commit is contained in:
Simon Cornet 2025-11-10 15:25:48 +01:00
commit a5a8877b58

View file

@ -10,14 +10,14 @@
# force update time # force update time
- name: "force update time using chrony" - name: "force update time using chrony"
tags: "chrony" tags: "chrony"
ansible.builtin.include_tasks: "tasks/chrony.yaml" ansible.builtin.import_tasks: "tasks/chrony.yaml"
# install updates # install updates
- name: "install updates" - name: "install updates"
tags: "update" tags: "update"
ansible.builtin.include_tasks: "tasks/update.yaml" ansible.builtin.import_tasks: "tasks/update.yaml"
# initiate reboot # initiate reboot
- name: "initiate reboot" - name: "initiate reboot"
tags: "reboot" tags: "reboot"
ansible.builtin.include_tasks: "tasks/reboot.yaml" ansible.builtin.import_tasks: "tasks/reboot.yaml"