diff --git a/README.md b/README.md index ed0e415..ba842fc 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,10 @@ To be used in the LXD host (currently **servidora1e0.bogota.agofer**), via ```sh ansible-pull \ -U ssh://git@gitea.agofer.net:22001/jegomez/ansible-role-launch-container.git \ - -e nombre= + -e nombre= \ + --vault-password-file ~/.vault_pass.txt \ + -i hosts + ``` * Launches a new container called **newodoocontainer**. @@ -16,3 +19,6 @@ ansible-pull \ * 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. diff --git a/local.yml b/local.yml index ec0497c..493953d 100644 --- a/local.yml +++ b/local.yml @@ -1,5 +1,5 @@ - hosts: localhost - gather_facts: no + gather_facts: yes tasks: - name: Verify correct usage of parameter diff --git a/roles/lxchost/tasks/main.yml b/roles/lxchost/tasks/main.yml index 8bf5bbd..077f514 100644 --- a/roles/lxchost/tasks/main.yml +++ b/roles/lxchost/tasks/main.yml @@ -15,7 +15,9 @@ mode: pull server: https://cloud-images.ubuntu.com/releases protocol: simplestreams - alias: ubuntu/18.04 + fingerprint: 39a93d0b3552 + +# alias: ubuntu/18.04 - name: Register DNS CNAME alias using Dreamhost API shell: