2024-06-15 20:41:42 +00:00
|
|
|
# deploy:
|
2024-03-22 20:46:39 +00:00
|
|
|
$ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain -e SECRET_HOST=host2.domain2 deploy_ovh_instance.yml
|
|
|
|
|
2024-06-15 20:41:42 +00:00
|
|
|
# delete:
|
|
|
|
$ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain -e SECRET_HOST=host2.domain2 delete_ovh_instance.yml
|
2024-03-22 20:46:39 +00:00
|
|
|
|
|
|
|
library directory contains Ansible modules from https://github.com/gheesh/ansible-ovh-dns
|
2024-04-28 15:17:05 +00:00
|
|
|
|
|
|
|
# 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
|