mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
updated loop var name
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
c4070c341b
commit
210535bf4f
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
- name: "PRELIM | 5.4.2 | 7.2.8 | Split passwd entries"
|
||||
ansible.builtin.set_fact:
|
||||
prelim_captured_passwd_data: "{{ prelim_capture_passwd_file.stdout_lines | map('regex_replace', ld_passwd_regex, ld_passwd_yaml) | map('from_yaml') | list }}"
|
||||
loop: "{{ prelim_passwd_file_audit.stdout_lines }}"
|
||||
loop: "{{ prelim_capture_passwd_file.stdout_lines }}"
|
||||
vars:
|
||||
ld_passwd_regex: >-
|
||||
^(?P<id>[^:]*):(?P<password>[^:]*):(?P<uid>[^:]*):(?P<gid>[^:]*):(?P<gecos>[^:]*):(?P<dir>[^:]*):(?P<shell>[^:]*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue