summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-node/additional_config.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-16 16:32:38 -0500
committerRussell Teague <rteague@redhat.com>2017-11-21 15:05:23 -0500
commitd448704c0e67494387d80c2fa2348d25e848c8d3 (patch)
treef88c034a0da1c7bc7f9c42c1e07ea1a216bde22b /playbooks/common/openshift-node/additional_config.yml
parent8d12df4b390832664f0be2d9955440bdeb00bb29 (diff)
downloadopenshift-d448704c0e67494387d80c2fa2348d25e848c8d3.tar.gz
openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.tar.bz2
openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.tar.xz
openshift-d448704c0e67494387d80c2fa2348d25e848c8d3.zip
Playbook Consolidation - openshift-node
Diffstat (limited to 'playbooks/common/openshift-node/additional_config.yml')
-rw-r--r--playbooks/common/openshift-node/additional_config.yml64
1 files changed, 0 insertions, 64 deletions
diff --git a/playbooks/common/openshift-node/additional_config.yml b/playbooks/common/openshift-node/additional_config.yml
deleted file mode 100644
index ac757397b..000000000
--- a/playbooks/common/openshift-node/additional_config.yml
+++ /dev/null
@@ -1,64 +0,0 @@
----
-- name: create additional node network plugin groups
- hosts: "{{ openshift_node_scale_up_group | default('oo_nodes_to_config') }}"
- tasks:
- # Creating these node groups will prevent a ton of skipped tasks.
- # Create group for flannel nodes
- - group_by:
- key: oo_nodes_use_{{ (openshift_use_flannel | default(False)) | ternary('flannel','nothing') }}
- changed_when: False
- # Create group for calico nodes
- - group_by:
- key: oo_nodes_use_{{ (openshift_use_calico | default(False)) | ternary('calico','nothing') }}
- changed_when: False
- # Create group for nuage nodes
- - group_by:
- key: oo_nodes_use_{{ (openshift_use_nuage | default(False)) | ternary('nuage','nothing') }}
- changed_when: False
- # Create group for contiv nodes
- - group_by:
- key: oo_nodes_use_{{ (openshift_use_contiv | default(False)) | ternary('contiv','nothing') }}
- changed_when: False
- # Create group for kuryr nodes
- - group_by:
- key: oo_nodes_use_{{ (openshift_use_kuryr | default(False)) | ternary('kuryr','nothing') }}
- changed_when: False
-
-- include: etcd_client_config.yml
- vars:
- openshift_node_scale_up_group: "oo_nodes_use_flannel:oo_nodes_use_calico:oo_nodes_use_contiv:oo_nodes_use_kuryr"
-
-- name: Additional node config
- hosts: oo_nodes_use_flannel
- roles:
- - role: flannel
- etcd_urls: "{{ hostvars[groups.oo_first_master.0].openshift.master.etcd_urls }}"
- embedded_etcd: "{{ hostvars[groups.oo_first_master.0].openshift.master.embedded_etcd }}"
- when: openshift_use_flannel | default(false) | bool
-
-- name: Additional node config
- hosts: oo_nodes_use_calico
- roles:
- - role: calico
- when: openshift_use_calico | default(false) | bool
-
-- name: Additional node config
- hosts: oo_nodes_use_nuage
- roles:
- - role: nuage_node
- when: openshift_use_nuage | default(false) | bool
-
-- name: Additional node config
- hosts: oo_nodes_use_contiv
- roles:
- - role: contiv
- contiv_role: netplugin
- when: openshift_use_contiv | default(false) | bool
-
-- name: Configure Kuryr node
- hosts: oo_nodes_use_kuryr
- tasks:
- - include_role:
- name: kuryr
- tasks_from: node
- when: openshift_use_kuryr | default(false) | bool