소스 검색

Merge pull request #1410 from abutcher/docker-scaleup

Apply openshift_docker to nodes during scaleup.
Brenton Leanhardt 9 년 전
부모
커밋
cc5c39cac2
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      playbooks/common/openshift-cluster/scaleup.yml

+ 10 - 0
playbooks/common/openshift-cluster/scaleup.yml

@@ -1,6 +1,16 @@
 ---
 - include: 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
   vars:
     openshift_deployment_type: "{{ deployment_type }}"