Commit fe4b3d2a authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: play with tags

parent 8f0ab48d
Loading
Loading
Loading
Loading
Loading
+3 −9
Original line number Diff line number Diff line
@@ -9,21 +9,15 @@

    # force update time
    - name: "force update time using chrony"
      tags:
        - "chrony"
        - "never"
      tags: "chrony"
      ansible.builtin.include_tasks: "tasks/chrony.yaml"

    # install updates
    - name: "install updates"
      tags:
        - "update"
        - "never"
      tags: "update"
      ansible.builtin.include_tasks: "tasks/update.yaml"

    # initiate reboot
    - name: "initiate reboot"
      tags:
        - "reboot"
        - "never"
      tags: "reboot"
      ansible.builtin.include_tasks: "tasks/reboot.yaml"