toolbox/playbook.yaml

29 lines
592 B
YAML

---
# execute this role
- name: "use toolbox"
hosts: "all"
become: true
serial: 1
tasks:
# force update time
- name: "force update time using chrony"
tags:
- "chrony"
- "never"
ansible.builtin.include_tasks: "tasks/chrony.yaml"
# install updates
- name: "install updates"
tags:
- "update"
- "never"
ansible.builtin.include_tasks: "tasks/update.yaml"
# initiate reboot
- name: "initiate reboot"
tags:
- "reboot"
- "never"
ansible.builtin.include_tasks: "tasks/reboot.yaml"