Create .ssh folder
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2021-07-14 09:06:22 +02:00
parent a54573d9ac
commit ef623fe442

View File

@ -6,7 +6,10 @@ steps:
- name: Apply playbook - name: Apply playbook
image: bv11-cr01.bessems.eu/library/packer-extended image: bv11-cr01.bessems.eu/library/packer-extended
commands: 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-galaxy collection install -r requirements.yml
- | - |
ansible-playbook \ ansible-playbook \