summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-10-15 09:19:58 -0400
committerSacha Chua <sacha@sachachua.com>2022-10-15 09:19:58 -0400
commitd86946ec21f2175d3a5aad58c1ae236291c74b7a (patch)
treed7f3fb459ef821d28b744c19134c173d387c9da2
parent83d495ad82543193fbd031ff11f3ed8526b4e7ab (diff)
downloademacsconf-ansible-d86946ec21f2175d3a5aad58c1ae236291c74b7a.tar.xz
emacsconf-ansible-d86946ec21f2175d3a5aad58c1ae236291c74b7a.zip
Initialize docker vars later
Diffstat (limited to '')
-rw-r--r--docker-playbook.yml22
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