Go to file
2024-06-20 00:55:43 +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 install EPEL packages. 2024-06-20 00:55:43 +02:00
tasks Fix bug. 2024-06-19 18:41:07 +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 new playbook build_image.yml. 2024-04-28 12:56:31 +02:00
delete_ovh_instance.yml Fix delete_ovh_instance.yml playbook. 2024-06-18 23:52:24 +02:00
deploy_ovh_instance.yml Fix ansible_user not set. 2024-06-18 13:09:24 +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