summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-02-16 10:17:36 -0500
committerAndrew Butcher <abutcher@redhat.com>2016-02-16 15:14:50 -0500
commit7cdfdd7f23ede2898d0c68284a3f59c37292e9d3 (patch)
treebc451de8216ec0460639c009d9c8eb637744faa3 /playbooks/common
parent9f22f2654dac464ab419867e27d0ed6155a2a356 (diff)
downloadopenshift-7cdfdd7f23ede2898d0c68284a3f59c37292e9d3.tar.gz
openshift-7cdfdd7f23ede2898d0c68284a3f59c37292e9d3.tar.bz2
openshift-7cdfdd7f23ede2898d0c68284a3f59c37292e9d3.tar.xz
openshift-7cdfdd7f23ede2898d0c68284a3f59c37292e9d3.zip
Add openshift_docker roles to master/node scaleup.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-master/scaleup.yml22
-rw-r--r--playbooks/common/openshift-node/scaleup.yml10
2 files changed, 20 insertions, 12 deletions
diff --git a/playbooks/common/openshift-master/scaleup.yml b/playbooks/common/openshift-master/scaleup.yml
index 52727bc03..6f8151d30 100644
--- a/playbooks/common/openshift-master/scaleup.yml
+++ b/playbooks/common/openshift-master/scaleup.yml
@@ -1,18 +1,6 @@
---
- include: ../openshift-cluster/evaluate_groups.yml
-- name: Configure docker hosts
- hosts: oo_nodes_to_config
- vars:
- docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') | oo_split }}"
- docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') | oo_split }}"
- docker_blocked_registries: "{{ lookup('oo_option', 'docker_blocked_registries') | oo_split }}"
- roles:
- - openshift_facts
- - openshift_docker
-
-- include: ../openshift-node/config.yml
-
- name: Gather facts
hosts: oo_etcd_to_config:oo_masters_to_config:oo_nodes_to_config
roles:
@@ -52,6 +40,16 @@
delay: 1
changed_when: false
+- name: Configure docker hosts
+ hosts: oo_masters_to-config:oo_nodes_to_config
+ vars:
+ docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') | oo_split }}"
+ docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') | oo_split }}"
+ docker_blocked_registries: "{{ lookup('oo_option', 'docker_blocked_registries') | oo_split }}"
+ roles:
+ - openshift_facts
+ - openshift_docker
+
- include: ../openshift-master/config.yml
- include: ../openshift-node/config.yml
diff --git a/playbooks/common/openshift-node/scaleup.yml b/playbooks/common/openshift-node/scaleup.yml
index 26b792153..d36f7acea 100644
--- a/playbooks/common/openshift-node/scaleup.yml
+++ b/playbooks/common/openshift-node/scaleup.yml
@@ -1,4 +1,14 @@
---
- include: ../openshift-cluster/evaluate_groups.yml
+- name: Configure docker hosts
+ hosts: oo_nodes_to_config
+ vars:
+ docker_additional_registries: "{{ lookup('oo_option', 'docker_additional_registries') | oo_split }}"
+ docker_insecure_registries: "{{ lookup('oo_option', 'docker_insecure_registries') | oo_split }}"
+ docker_blocked_registries: "{{ lookup('oo_option', 'docker_blocked_registries') | oo_split }}"
+ roles:
+ - openshift_facts
+ - openshift_docker
+
- include: ../openshift-node/config.yml