|
@@ -75,6 +75,8 @@
|
|
|
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
|
|
|
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
|
|
|
groups: 'tag_environment_{{ cluster_env }}, tag_host-type_etcd, tag_sub-host-type_default, tag_clusterid_{{ cluster_id }}'
|
|
|
+ openshift_node_labels:
|
|
|
+ type: "etcd"
|
|
|
with_together:
|
|
|
- parsed_outputs.etcd_names
|
|
|
- parsed_outputs.etcd_ips
|
|
@@ -87,6 +89,8 @@
|
|
|
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
|
|
|
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
|
|
|
groups: 'tag_environment_{{ cluster_env }}, tag_host-type_master, tag_sub-host-type_default, tag_clusterid_{{ cluster_id }}'
|
|
|
+ openshift_node_labels:
|
|
|
+ type: "master"
|
|
|
with_together:
|
|
|
- parsed_outputs.master_names
|
|
|
- parsed_outputs.master_ips
|
|
@@ -99,6 +103,8 @@
|
|
|
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
|
|
|
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
|
|
|
groups: 'tag_environment_{{ cluster_env }}, tag_host-type_node, tag_sub-host-type_compute, tag_clusterid_{{ cluster_id }}'
|
|
|
+ openshift_node_labels:
|
|
|
+ type: "compute"
|
|
|
with_together:
|
|
|
- parsed_outputs.node_names
|
|
|
- parsed_outputs.node_ips
|
|
@@ -111,6 +117,8 @@
|
|
|
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
|
|
|
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
|
|
|
groups: 'tag_environment_{{ cluster_env }}, tag_host-type_node, tag_sub-host-type_infra, tag_clusterid_{{ cluster_id }}'
|
|
|
+ openshift_node_labels:
|
|
|
+ type: "infra"
|
|
|
with_together:
|
|
|
- parsed_outputs.infra_names
|
|
|
- parsed_outputs.infra_ips
|