4
0
Fork 0

removed urandom work

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-02-27 17:39:07 +00:00
parent 7459f1d445
commit c119a8074f
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9

View file

@ -87,13 +87,6 @@ jobs:
run: sleep 60s run: sleep 60s
shell: bash 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 # Run the ansible playbook
- name: Run_Ansible_Playbook - name: Run_Ansible_Playbook
uses: arillso/action.playbook@master uses: arillso/action.playbook@master