Ansible role for use with ansible-pull to launch a new container and register its domain
This repository has been archived on 2021-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2020-09-29 23:11:38 -05:00
roles [FIX] Syntax error in task 2020-09-29 23:11:38 -05:00
hosts Initial version 2020-09-28 19:43:12 -05:00
local.yml Verifies correct parameter is given 2020-09-28 20:06:30 -05:00
README.md Initial version 2020-09-28 19:43:12 -05:00

Ansible role to launch a new container

To be used in the LXD host (currently servidora1e0.bogota.agofer), via ansible-pull.

ansible-pull \
  -U ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-launch-container.git \
  -e nombre=<newodoocontainer>
  • Launches a new container called newodoocontainer.
  • Creates a DNS alias for externo.agofer.net called newodoocontainer.agofer.net.
  • Registers this container in the existing Nginx Proxy container.
  • Requests an SSL certificate to Let's Encrypt for the new domain, storing the certificates in the Nginx Proxy container.