feat: Allow to disable configuration
This commit is contained in:
parent
128fe14959
commit
9346cdc287
@ -2,6 +2,7 @@
|
||||
# defaults file for nftables
|
||||
|
||||
nftables_renew_configuration: false
|
||||
nftables_manage_configuration: true
|
||||
|
||||
nftables_rules: []
|
||||
nftables_tables: []
|
||||
|
@ -24,4 +24,5 @@
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
path: /srv/nftables
|
||||
when: nftables_manage_configuration
|
||||
become: true
|
||||
|
@ -2,7 +2,10 @@
|
||||
# tasks file for nftables
|
||||
|
||||
- name: Importer les tâches d'installation
|
||||
ansible.builtin.import_tasks: installation.yml
|
||||
ansible.builtin.import_tasks:
|
||||
file: installation.yml
|
||||
|
||||
- name: Importer les tâches de configuration
|
||||
ansible.builtin.import_tasks: configuration.yml
|
||||
ansible.builtin.import_tasks:
|
||||
file: configuration.yml
|
||||
when: nftables_manage_configuration
|
||||
|
Loading…
Reference in New Issue
Block a user