diff options
author | Sacha Chua <sacha@sachachua.com> | 2022-10-15 09:19:58 -0400 |
---|---|---|
committer | Sacha Chua <sacha@sachachua.com> | 2022-10-15 09:19:58 -0400 |
commit | d86946ec21f2175d3a5aad58c1ae236291c74b7a (patch) | |
tree | d7f3fb459ef821d28b744c19134c173d387c9da2 | |
parent | 83d495ad82543193fbd031ff11f3ed8526b4e7ab (diff) | |
download | emacsconf-ansible-d86946ec21f2175d3a5aad58c1ae236291c74b7a.tar.xz emacsconf-ansible-d86946ec21f2175d3a5aad58c1ae236291c74b7a.zip |
Initialize docker vars later
Diffstat (limited to '')
-rw-r--r-- | docker-playbook.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/docker-playbook.yml b/docker-playbook.yml index be8472b..dc29381 100644 --- a/docker-playbook.yml +++ b/docker-playbook.yml @@ -1,6 +1,6 @@ --- - name: Load vars - hosts: all + hosts: localhost tags: always tasks: - include_vars: @@ -18,13 +18,6 @@ published_ports: - "28080:80" - "2022:22" - -- name: Provision the emacsconf-front container created above - tags: wiki - hosts: emacsconf-front - roles: - - wiki - - name: Create a pad container to be provisioned later tags: pad hosts: localhost @@ -38,6 +31,19 @@ published_ports: - "9001:9001" +- name: Load vars + hosts: all + tags: always + tasks: + - include_vars: + file: docker-vars.yml + +- name: Provision the emacsconf-front container created above + tags: wiki + hosts: emacsconf-front + roles: + - wiki + - name: Provision the pad container created above tags: pad hosts: emacsconf-pad |