diff --git a/.drone.yml b/.drone.yml index e756b1e..a2c09cc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,7 +36,8 @@ steps: - name: ansible apply image: cytopia/ansible:latest-infra commands: - - ansible-playbook -i inventory/hosts.yml site.yml --private-key /root/.ssh/id_ed25519 + - ssh-add /root/.ssh/id_ed25519 + - ansible-playbook -i inventory/hosts.yml site.yml volumes: - name: ssh_key path: /root/.ssh