Changed ansible_db_template to ansible_config_template
As the template is for the aide.conf(5) file I found that the variable name 'ansible_config_template' is a better fit than 'ansible_db_template'. Signed-off-by: Joerg Kastning <joerg@redhat.com>
This commit is contained in:
committed by
Richard Megginson
parent
3bca54f29b
commit
8ce6fe0da5
+2
-2
@@ -20,10 +20,10 @@
|
||||
|
||||
- name: Generate "/etc/{{ __aide_config }}"
|
||||
ansible.builtin.template:
|
||||
src: "{{ aide_db_template }}"
|
||||
src: "{{ aide_config_template }}"
|
||||
dest: "/etc/{{ __aide_config }}"
|
||||
mode: "0400"
|
||||
when: aide_db_template is not none
|
||||
when: aide_config_template is not none
|
||||
|
||||
# - name: Print Header
|
||||
# ansible.builtin.command: head /etc/aide.conf || true
|
||||
|
||||
Reference in New Issue
Block a user