forked from ansible-lockdown/RHEL9-CIS
Merge pull request #6 from ansible-lockdown/5.4.1_typo
5.4.1 fixed thanks to cf-sewe
This commit is contained in:
commit
79cc69e3d9
3 changed files with 4 additions and 4 deletions
2
.github/workflows/communitytodevel.yml
vendored
2
.github/workflows/communitytodevel.yml
vendored
|
|
@ -34,6 +34,6 @@ jobs:
|
||||||
# Job ID
|
# Job ID
|
||||||
job_id: 5f933cbcf9c74e86b1609c00
|
job_id: 5f933cbcf9c74e86b1609c00
|
||||||
# Variables
|
# Variables
|
||||||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL9-CIS.git", "image": "ami-04483b15b4268d18d", "githubBranch": "${{ github.head_ref }}", "username": "centos" }'
|
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL9-CIS.git", "image": "ami-0335e1660e1197d63", "githubBranch": "${{ github.head_ref }}", "username": "rocky" }'
|
||||||
# Refactr API base URL
|
# Refactr API base URL
|
||||||
api_url: # optional
|
api_url: # optional
|
||||||
|
|
|
||||||
2
.github/workflows/develtomain.yml
vendored
2
.github/workflows/develtomain.yml
vendored
|
|
@ -35,6 +35,6 @@ jobs:
|
||||||
# Job ID
|
# Job ID
|
||||||
job_id: 5f90ad90f9c74e6d1e606e33
|
job_id: 5f90ad90f9c74e6d1e606e33
|
||||||
# Variables
|
# Variables
|
||||||
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL9-CIS.git", "image": "ami-04483b15b4268d18d", "username": "centos" }'
|
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL9-CIS.git", "image": "ami-0335e1660e1197d63", "username": "rocky" }'
|
||||||
# Refactr API base URL
|
# Refactr API base URL
|
||||||
api_url: # optional
|
api_url: # optional
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
dest: /etc/pam.d/system-auth
|
dest: /etc/pam.d/system-auth
|
||||||
state: present
|
state: present
|
||||||
regexp: '^password requisite pam_pwquality.so'
|
regexp: '^password requisite pam_pwquality.so'
|
||||||
line: "password requisite pam_pwquality.so try_first_pass local_users_only enforce-for-root retry=3 remember={{ rhel9cis_pam_faillock.remember }}"
|
line: "password requisite pam_pwquality.so try_first_pass local_users_only enforce_for_root retry=3 remember={{ rhel9cis_pam_faillock.remember }}"
|
||||||
insertbefore: '^#?password ?'
|
insertbefore: '^#?password ?'
|
||||||
when:
|
when:
|
||||||
- rhel9cis_rule_5_4_1 or
|
- rhel9cis_rule_5_4_1 or
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
dest: /etc/pam.d/password-auth
|
dest: /etc/pam.d/password-auth
|
||||||
state: present
|
state: present
|
||||||
regexp: '^password requisite pam_pwquality.so'
|
regexp: '^password requisite pam_pwquality.so'
|
||||||
line: "password requisite pam_pwquality.so try_first_pass local_users_only enforce-for-root retry=3"
|
line: "password requisite pam_pwquality.so try_first_pass local_users_only enforce_for_root retry=3"
|
||||||
insertbefore: '^#?password ?'
|
insertbefore: '^#?password ?'
|
||||||
when: rhel9cis_rule_5_4_1
|
when: rhel9cis_rule_5_4_1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue