Go to file
2024-06-15 17:17:25 +02:00
collections Add missing collection. 2024-04-13 13:07:53 +02:00
library Initial commit. 2024-03-22 21:46:39 +01:00
roles Fix bug. 2024-06-15 17:17:25 +02:00
tasks Fix missing become for duplicity restore. 2024-04-28 16:36:51 +02:00
vars Initial commit. 2024-03-22 21:46:39 +01:00
ansible.cfg Fix callback configuration directive for Ansible 2.10. 2024-04-13 13:31:12 +02:00
build_image.yml Add new playbook build_image.yml. 2024-04-28 12:56:31 +02:00
deploy_ovh_instance.yml Add role_deploy_openvpn-server. 2024-06-15 16:59:08 +02:00
DEV_GUIDELINES.md Create all containers from registry images instead of rebuilding images. 2024-04-13 16:11:17 +02: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 Add documentation for playbook build_image.yml. 2024-04-28 17:17:05 +02:00
TODO Finish nextcloud role. 2024-03-23 11:43:51 +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

build a container image

ansible-playbook -i host.domain, -e HTTPS_REPO_URL="https://git.domain/path/docker-mysql.git" -e REPO_NAME=docker-mysql -e IMAGE_NAME=mysql-server build_image.yml