Add documentation for playbook build_image.yml.

This commit is contained in:
yohan 2024-04-28 17:17:05 +02:00
parent 84d066e8d0
commit 96ab00a799

View File

@ -8,3 +8,6 @@ $ SECRETS_ARCHIVE_PASSPHRASE=XXXXXX ansible-playbook -e target_name=host.domain
$ 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