mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 14:23:05 +00:00
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
|
||||
- name: add urandom passwd to root account
|
||||
shell: bash
|
||||
working-directory: .github/workflows
|
||||
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
|
||||
- name: Run_Ansible_Playbook
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue