Go to file
2024-03-22 23:32:47 +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 Replace setup_volume task by a role. 2024-03-22 22:27:07 +01:00
tasks Replace setup_volume task by a role. 2024-03-22 22:27:07 +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 Fix missing required task when using tags. 2024-03-22 23:32:47 +01:00
install_requirements.sh Fix requirements. 2024-03-22 22:08:20 +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 Replace setup_volume task by a role. 2024-03-22 22:27:07 +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