mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-24 22:23:06 +00:00
removed urandom work
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
7459f1d445
commit
c119a8074f
1 changed files with 0 additions and 7 deletions
|
|
@ -87,13 +87,6 @@ jobs:
|
|||
run: sleep 60s
|
||||
shell: bash
|
||||
|
||||
# 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 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
|
||||
uses: arillso/action.playbook@master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue