refactor(configuration): consolidate firewall into one phase-aware path
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
- name: Include configuration tasks
|
||||
when: configuration_task.when | default(true)
|
||||
ansible.builtin.include_tasks: "{{ configuration_task.file }}"
|
||||
vars:
|
||||
firewall_phase: install
|
||||
loop:
|
||||
- file: repositories.yml
|
||||
- file: banner.yml
|
||||
@@ -12,6 +14,7 @@
|
||||
- file: locales.yml
|
||||
- file: ssh.yml
|
||||
- file: services.yml
|
||||
- file: firewall.yml
|
||||
- file: grub.yml
|
||||
- file: encryption.yml
|
||||
when: "{{ system_cfg.luks.enabled | bool }}"
|
||||
|
||||
Reference in New Issue
Block a user