Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*disk_error_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*disk_error_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*disk_full_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*disk_full_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
line: "action_mail_acct = {{ var_auditd_action_mail_acct }}"
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*admin_space_left_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
regexp: '^\s*admin_space_left\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
line: "flush = {{ var_auditd_flush }}"
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
line: "max_log_file = {{ var_auditd_max_log_file }}"
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*max_log_file_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*max_log_file_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*num_logs\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*space_left\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*space_left_action\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
regexp: '^\s*space_left\s*=\s*.*$'
state: present
create: yes
mode: 0640
mode: 'u-x,g-wx,o-rwx'
#notify: reload auditd
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@
create=true,
separator=" = ",
separator_regex="\s*=\s*",
mode="u-x,g-wx,o-rwx",
prefix_regex="(?i)^\s*", rule_title=rule_title) }}}
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
create=true,
separator=" = ",
separator_regex="\s*=\s*",
mode="u-x,g-wx,o-rwx",
prefix_regex="(?i)^\s*", rule_title=rule_title) }}}
2 changes: 1 addition & 1 deletion shared/macros/10-ansible.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ value: :code:`Setting={{ varname1 }}`

#}}
{{%- macro ansible_auditd_set(msg='', parameter='', value='', rule_title=None) %}}
{{{ ansible_set_config_file(msg, "/etc/audit/auditd.conf", parameter=parameter, value=value, create="yes", prefix_regex='(?i)^\s*', separator=" = ", separator_regex="\s*=\s*", mode="0640", rule_title=rule_title) }}}
{{{ ansible_set_config_file(msg, "/etc/audit/auditd.conf", parameter=parameter, value=value, create="yes", prefix_regex='(?i)^\s*', separator=" = ", separator_regex="\s*=\s*", mode="u-x,g-wx,o-rwx", rule_title=rule_title) }}}
{{%- endmacro %}}

{{#
Expand Down
Loading