forked from ansible-lockdown/RHEL9-CIS
update urandom check again
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
b9b283fd52
commit
80168bc6d4
1 changed files with 2 additions and 1 deletions
|
|
@ -90,8 +90,9 @@ jobs:
|
||||||
# Set up requirements for random root password CIS 5.6.6
|
# Set up requirements for random root password CIS 5.6.6
|
||||||
- name: add urandom passwd to root account
|
- name: add urandom passwd to root account
|
||||||
shell: bash
|
shell: bash
|
||||||
|
working-directory: .github/workflows
|
||||||
run: |
|
run: |
|
||||||
ANSIBLE_HOST_KEY_CHECKING=False && ansible all -i .github/workflows/hosts.yml -m shell -a "cat /dev/urandom | tr -dc ‘[:print:]’ | head -c50 | passwd --stdin root" -b
|
ANSIBLE_HOST_KEY_CHECKING=False && ansible all -i hosts.yml -m shell -a "cat /dev/urandom | tr -dc ‘[:print:]’ | head -c50 | passwd --stdin root" -b --private-key .ssh/github_actions.pem
|
||||||
|
|
||||||
# Run the ansible playbook
|
# Run the ansible playbook
|
||||||
- name: Run_Ansible_Playbook
|
- name: Run_Ansible_Playbook
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue