Skip to content

Commit

Permalink
Fix typos in task titles
Browse files Browse the repository at this point in the history
  • Loading branch information
yuumasato committed Aug 19, 2021
1 parent 181a0f9 commit c94454f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shared/macros-ansible.jinja
Expand Up @@ -431,7 +431,7 @@ The macro requires following parameters:
set_fact: syscalls_per_file="{{ syscalls_per_file | combine( {item.files[0].path :[item.item] + syscalls_per_file.get(item.files[0].path, []) } ) }}"
loop: "{{ find_command.results | selectattr('matched') | list}}"

- name: Declare files where syscalls where found
- name: Declare files where syscalls were found
set_fact: found_paths="{{ find_command.results | map(attribute='files') | flatten | map(attribute='path') | list }}"

- name: Count occurrences of syscalls in paths
Expand Down
Expand Up @@ -7,11 +7,11 @@
#
# What architecture are we on?
#
- name: Set architecture for audit {{{ NAME| join(", ") }}} tasks
- name: Set architecture for audit {{{ NAME | join(", ") }}} tasks
set_fact:
audit_arch: "b{{ ansible_architecture | regex_replace('.*(\\d\\d$)','\\1') }}"

- name: Perform remediation of Audit rules for {{{ NAME| join(", ") }}} for x86 platform
- name: Perform remediation of Audit rules for {{{ NAME | join(", ") }}} for x86 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b32",
Expand All @@ -30,7 +30,7 @@
syscall_grouping=SYSCALL_GROUPING,
)|indent(4) }}}

- name: Perform remediation of Audit rules for {{{ NAME| join(", ") }}} for x86_64 platform
- name: Perform remediation of Audit rules for {{{ NAME | join(", ") }}} for x86_64 platform
block:
{{{ ansible_audit_augenrules_add_syscall_rule(
action_arch_filters="-a always,exit -F arch=b64",
Expand Down

0 comments on commit c94454f

Please sign in to comment.