Go to file
2024-03-22 21:46:39 +01:00
collections Initial commit. 2024-03-22 21:46:39 +01:00
library Initial commit. 2024-03-22 21:46:39 +01:00
roles Initial commit. 2024-03-22 21:46:39 +01:00
tasks Initial commit. 2024-03-22 21:46:39 +01:00
vars Initial commit. 2024-03-22 21:46:39 +01:00
ansible.cfg Initial commit. 2024-03-22 21:46:39 +01:00
deploy_ovh_instance.yml Initial commit. 2024-03-22 21:46:39 +01:00
install_requirements.sh Initial commit. 2024-03-22 21:46:39 +01:00
inventory.yml Initial commit. 2024-03-22 21:46:39 +01:00
README.md Initial commit. 2024-03-22 21:46:39 +01:00
TODO Initial commit. 2024-03-22 21:46:39 +01:00

deploy then delete:

$ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain -e SECRET_HOST=host2.domain2 deploy_ovh_instance.yml

only delete:

$ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain -e SECRET_HOST=host2.domain2 -t delete deploy_ovh_instance.yml

deploy and do not delete:

$ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain -e SECRET_HOST=host2.domain2 -e delete=False deploy_ovh_instance.yml

library directory contains Ansible modules from https://github.com/gheesh/ansible-ovh-dns