27 lines
928 B
Markdown
27 lines
928 B
Markdown
# Ansible role to launch a new Odoo 14 LXD container
|
|
|
|
To be used in the LXD host (currently **servidora1e0.bogota.agofer**), using
|
|
`ansible-pull`.
|
|
|
|
```sh
|
|
ansible-pull \
|
|
-U ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-odoo14-launch-container \
|
|
-e nombre=<newodoocontainer> \
|
|
--vault-password-file ~/.vault_pass.txt \
|
|
-l localhost,nginx \
|
|
-i hosts
|
|
|
|
```
|
|
|
|
* Launches a new LXD container called **newodoocontainer**, that uses a LXD profile to download
|
|
and setup Odoo v14.
|
|
* 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.
|
|
|
|
The file ~/.vault_pass.txt contains the cleartext password to the vault
|
|
file where the Dreamhost API key and the Gitea deploy keys are stored
|
|
encrypted.
|