24 lines
642 B
YAML
24 lines
642 B
YAML
---
|
|
- name: Include configuration tasks
|
|
when: configuration_task.when | default(true)
|
|
ansible.builtin.include_tasks: "{{ configuration_task.file }}"
|
|
loop:
|
|
- file: banner.yml
|
|
- file: fstab.yml
|
|
- file: locales.yml
|
|
- file: ssh.yml
|
|
- file: services.yml
|
|
- file: grub.yml
|
|
- file: encryption.yml
|
|
when: "{{ system_cfg.luks.enabled | bool }}"
|
|
- file: bootloader.yml
|
|
- file: extras.yml
|
|
- file: network.yml
|
|
- file: users.yml
|
|
- file: sudo.yml
|
|
- file: selinux.yml
|
|
when: "{{ is_rhel | bool }}"
|
|
loop_control:
|
|
loop_var: configuration_task
|
|
label: "{{ configuration_task.file }}"
|