lab-ansible/roles/common/tasks/main.yml
2023-10-29 01:49:29 +02:00

35 lines
630 B
YAML

# vim: ft=yaml.ansible
---
- name: Configure user accounts
ansible.builtin.import_tasks: users.yml
tags:
- users
- name: Configure system base
ansible.builtin.import_tasks: base.yml
tags:
- base
- name: Reboot if needed
ansible.builtin.import_tasks: reboot.yml
tags:
- reboot
- name: Configure firewall
ansible.builtin.import_tasks: firewall.yml
tags:
- firewall
- name: Configure SSH
ansible.builtin.import_tasks: ssh.yml
tags:
- ssh
- name: Configure disks
ansible.builtin.import_tasks: disks.yml
tags:
- reboot
- name: Flush handlers
ansible.builtin.meta: flush_handlers