Refactor SSH configuration in ansible-apply.yaml and fix trusted hosts
This commit is contained in:
@@ -43,6 +43,7 @@ jobs:
|
||||
for host in $TRUSTED_HOSTS; do
|
||||
ssh-keyscan $host >> ~/.ssh/known_hosts
|
||||
done
|
||||
chmod 600 ~/.ssh/known_hosts
|
||||
|
||||
- name: Apply Ansible Playbook
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user