Create .ssh folder
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2021-07-14 09:06:22 +02:00
parent a54573d9ac
commit ef623fe442
1 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,10 @@ steps:
- name: Apply playbook
image: bv11-cr01.bessems.eu/library/packer-extended
commands:
- echo "$${private_key}" > ~/.ssh/id_rsa && chmod 0600 ~/.ssh/id_rsa
- |
mkdir ~/.ssh && \
echo "$${private_key}" > ~/.ssh/id_rsa && \
chmod 0600 ~/.ssh/id_rsa
- ansible-galaxy collection install -r requirements.yml
- |
ansible-playbook \