summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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