Go to file
2024-09-30 02:02:14 +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 route to LAN. 2024-09-30 02:02:14 +02:00
tasks Fix idempotency. 2024-06-20 14:05:41 +02:00
templates Fix idempotency. 2024-06-20 14:05:41 +02:00
vars Deploy SSH keys. 2024-06-18 11:14:34 +02:00
ansible.cfg Fix callback configuration directive for Ansible 2.10. 2024-04-13 13:31:12 +02:00
build_image.yml Add feature push to registry. 2024-06-21 17:11:27 +02:00
delete_ovh_instance.yml Fix idempotency. 2024-06-20 14:05:41 +02:00
deploy_ovh_instance.yml Add role_deploy_temp_openvpn-server to playbook. 2024-09-29 14:20:32 +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 Separate deploy and delete plays in different playbooks. 2024-06-15 22:41:42 +02:00
TODO Finish nextcloud role. 2024-03-23 11:43:51 +01:00

deploy:

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

delete:

$ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain -e SECRET_HOST=host2.domain2 delete_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