Skip to content

Commit 5d20ee7

Browse files
authored
Merge pull request #84 from ansible-lockdown/devel
Update to main
2 parents a43d371 + d436101 commit 5d20ee7

5 files changed

Lines changed: 5 additions & 10 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repos:
4141
- id: gitleaks
4242

4343
- repo: https://github.com/ansible-community/ansible-lint
44-
rev: v25.1.1
44+
rev: v25.1.2
4545
hooks:
4646
- id: ansible-lint
4747
name: Ansible-lint

tasks/Cat2/RHEL-09-23xxxx.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -873,8 +873,7 @@
873873
ansible.builtin.file:
874874
mode: 'u+x,go-w'
875875
path: "{{ item }}"
876-
loop:
877-
- "{{ rhel9stig_system_command_permissions.stdout_lines }}"
876+
loop: "{{ rhel9stig_system_command_permissions.stdout_lines }}"
878877

879878
- name: "MEDIUM | RHEL-09-232015 | PATCH | RHEL 9 library directories must have mode 755 or less permissive."
880879
when:
@@ -900,8 +899,7 @@
900899
ansible.builtin.file:
901900
mode: 'u+x,go-w'
902901
path: "{{ item }}"
903-
loop:
904-
- "{{ rhel9stig_library_directory_perms.stdout_lines }}"
902+
loop: "{{ rhel9stig_library_directory_perms.stdout_lines }}"
905903

906904
- name: "MEDIUM | RHEL-09-232020 | PATCH | RHEL 9 library files must have mode 755 or less permissive."
907905
when:

tasks/Cat2/RHEL-09-27xxxx.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
line: /org/gnome/login-screen/banner-message-enable
5050
create: true
5151
mode: 'u-x,go-wx'
52-
modification_time: preserve
5352
state: present
5453
loop: "{{ rhel9stig_dconf_db.stdout_lines }}"
5554

tasks/Cat2/RHEL-09-4xxxxx.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,7 @@
226226
when: rhel9stig_duplicate_gids is defined or rhel9stig_gid_exists is defined
227227
ansible.builtin.debug:
228228
msg: "Warning!! Issues with primary user groups have been found Please investigate"
229-
loop:
230-
- "{{ rhel9stig_duplicate_gids.stdout_lines }}"
229+
loop: "{{ rhel9stig_duplicate_gids.stdout_lines }}"
231230

232231
- name: "MEDIUM | RHEL-09-411045 | WARN | All RHEL 9 interactive users must have a primary group that exists.."
233232
when:

tasks/Cat2/RHEL-09-67xxxx.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
- rhel9stig_non_fips_hashed_accounts.stdout | length > 0
2929
- rhel9stig_disruption_high
3030
ansible.builtin.shell: "passwd -l {{ item }}"
31-
loop:
32-
- "{{ rhel9stig_non_fips_hashed_accounts.stdout_lines }}"
31+
loop: "{{ rhel9stig_non_fips_hashed_accounts.stdout_lines }}"
3332

3433
- name: "MEDIUM | RHEL-09-671015 | AUDIT | RHEL 8 must employ FIPS 140-2 approved cryptographic hashing algorithms for all stored passwords. | Message out user accounts"
3534
when:

0 commit comments

Comments
 (0)