Dump private.pem to file before beginning a play

This commit is contained in:
Salt 2021-08-26 03:39:45 -05:00
parent 7d34d5e931
commit b10ee60b74

View File

@ -17,6 +17,10 @@ before_script:
- touch /vaultpw
- chmod 0600 /vaultpw
- echo "$ANSIBLE_VAULT_PASSWORD" > /vaultpw
# Dump the Netbox key
- touch private.pem
- chmod 0600 private.pem
- echo "$NETBOX_USER_KEY" > private.pem
# Fix perms on the playbook root
- chmod -R 0750 .
# Join the Zerotier management network