Skip to content

Commit

Permalink
Merge pull request #76 from ansible-lockdown/staging
Browse files Browse the repository at this point in the history
Fix #76
  • Loading branch information
georgenalen authored Dec 8, 2020
2 parents ab52c71 + 6a2a3d0 commit 9165895
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tasks/prelim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,19 +269,3 @@
check_mode: no
tags:
- skip_ansible_lint
## NOTE: You will need to adjust the UID range in parenthases below.
## ALSO NOTE: We weed out any user with a home dir not in standard locations because interactive users shouldn't have those paths as a home dir. Add or removed directory paths as needed below.
- name: "PRELIM | 6.2.8 | Gather local interactive user directories"
shell: "getent passwd { {{ rhel8cis_int_gid }}..65535} | cut -d: -f6 | sort -u | grep -v '/var/' | grep -v '/nonexistent/*' | grep -v '/run/*'"
register: rhel_08_6_2_8_getent
changed_when: rhel_08_6_2_8_getent.stdout_lines is defined
failed_when: false
tags:
- rule_6.2.8

- name: "PRELIM | 6.2.8 | Set fact for home directory paths for interactive users"
set_fact:
rhel_08_cis_interactive_homedir_results: "{{ rhel_08_6_2_8_getent.stdout_lines }}"
when: rhel_08_6_2_8_getent.stdout_lines is defined
tags:
- rule_6.2.8

0 comments on commit 9165895

Please sign in to comment.