Start the ssh agent #15
@@ -36,6 +36,7 @@ steps:
|
||||
- name: ansible apply
|
||||
image: cytopia/ansible:latest-infra
|
||||
commands:
|
||||
- eval `ssh-agent -s`
|
||||
- ssh-add /root/.ssh/id_ed25519
|
||||
- ansible-playbook -i inventory/hosts.yml site.yml
|
||||
volumes:
|
||||
|
Reference in New Issue
Block a user