forked from ansible-lockdown/RHEL9-CIS
updated workflow
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
ca4d8764ee
commit
155a6016e5
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
- name: add urandom passwd to root account
|
||||
shell: bash
|
||||
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" --private-key ${{ secrets.SSH_PRV_KEY }} -b
|
||||
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
|
||||
|
||||
# Run the ansible playbook
|
||||
- name: Run_Ansible_Playbook
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue