This commit is contained in:
@@ -26,7 +26,11 @@ jobs:
|
|||||||
- run: echo $SHELL
|
- run: echo $SHELL
|
||||||
|
|
||||||
- run: cat start.yml
|
- run: cat start.yml
|
||||||
- run: ansible-playbook start.yml
|
- name: Run Ansible Playbook
|
||||||
|
run: |
|
||||||
|
eval $(ssh-agent -s)
|
||||||
|
ssh-add ~/.ssh/id_rsa || echo "Could not add default ssh key."
|
||||||
|
ansible-playbook start.yml
|
||||||
- run: echo $USER
|
- run: echo $USER
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[defaults]
|
[defaults]
|
||||||
inventory = ./inv/
|
inventory = ./inv/
|
||||||
log_path = ~/.ansible/log_ansible.log
|
log_path = ~/.ansible/log_ansible.log
|
||||||
privat_key_file = ~/.ssh/ansible-test
|
private_key_file = ~/.ssh/ansible-test
|
||||||
retry_files_enabled = true
|
retry_files_enabled = true
|
||||||
retry_files_save_path = ~/.ansible/retry-files
|
retry_files_save_path = ~/.ansible/retry-files
|
||||||
force_handlers = true
|
force_handlers = true
|
||||||
|
|||||||
Reference in New Issue
Block a user