Skip to content

Commit

Permalink
removed jmesptah requirement
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Bolwell <[email protected]>
  • Loading branch information
uk-bolly committed Jul 17, 2024
1 parent 9ae20c7 commit 0ff96c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions site.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
---

- hosts: all # noqa: name[play]
- name: Run ansible-lockdown remediation role
hosts: all # noqa: name[play]
become: true
vars:
is_container: false

name: Run ansible-lockdown remediation role
roles:
- role: "{{ playbook_dir }}"
8 changes: 4 additions & 4 deletions tasks/section_6/cis_6.1.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@

- name: "6.1.11 | AUDIT | Ensure no unowned files or directories exist | Displaying any unowned files or directories"
ansible.builtin.debug:
msg: "Warning!! Missing owner on items in {{ ubtu18cis_6_1_11_audit | json_query('results[*].stdout_lines[*]') | flatten }}" # noqa: jinja[invalid]
msg: "Warning!! Missing owner on items in {{ ubtu18cis_6_1_11_audit.results| map(attribute='stdout_lines') | flatten }}"
when: ubtu18cis_6_1_11_unowned_files_found

- name: "6.1.11 | AUDIT | Ensure no unowned files or directories exist | warning"
Expand Down Expand Up @@ -281,7 +281,7 @@

- name: "6.1.12 | AUDIT | Ensure no ungrouped files or directories exist | Displaying any unowned files or directories"
ansible.builtin.debug:
msg: "Warning!! Missing owner on items in {{ ubtu18cis_6_1_12_audit | json_query('results[*].stdout_lines[*]') | flatten }}" # noqa: jinja[invalid]
msg: "Warning!! Missing owner on items in {{ ubtu18cis_6_1_12_audit.results | map(attribute='stdout_lines') | flatten }}"
when: ubtu18cis_6_1_12_ungrouped_files_found

- name: "6.1.12 | AUDIT | Ensure no ungrouped files or directories exist | warning"
Expand Down Expand Up @@ -321,7 +321,7 @@

- name: "6.1.13 | AUDIT | Audit SUID executables | Alert SUID executables exist"
ansible.builtin.debug:
msg: "Warning!! SUID on items in {{ ubtu18cis_6_1_13_suid_perms | json_query('results[*].stdout_lines[*]') | flatten }}" # noqa: jinja[invalid]
msg: "Warning!! SUID on items in {{ ubtu18cis_6_1_13_suid_perms.results | map(attribute='stdout_lines') | flatten }}"
when: ubtu18cis_6_1_13_suid_found

- name: "6.1.13 | AUDIT | Audit SUID executables | Alert SUID executables exist | warning"
Expand Down Expand Up @@ -361,7 +361,7 @@

- name: "6.1.14 | AUDIT | Audit SGID executables | Alert SGID executables exist"
ansible.builtin.debug:
msg: "Warning!! SGID on items in {{ ubtu18cis_6_1_14_sgid_perms | json_query('results[*].stdout_lines[*]') | flatten }}" # noqa: jinja[invalid]
msg: "Warning!! SGID on items in {{ ubtu18cis_6_1_14_sgid_perms.results | map(attribute='stdout_lines') | flatten }}" # noqa: jinja[invalid]
when: ubtu18cis_6_1_14_sgid_found

- name: "6.1.14 | AUDIT | Audit SGID executables| warning"
Expand Down

0 comments on commit 0ff96c4

Please sign in to comment.