23 lines
505 B
YAML
23 lines
505 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"
|
|
ansible.builtin.import_tasks: "tasks/chrony.yaml"
|
|
|
|
# install updates
|
|
- name: "install updates"
|
|
tags: "update"
|
|
ansible.builtin.import_tasks: "tasks/update.yaml"
|
|
|
|
# initiate reboot
|
|
- name: "initiate reboot"
|
|
tags: "reboot"
|
|
ansible.builtin.import_tasks: "tasks/reboot.yaml"
|