| | |
| | | etcd |
| | | nodes |
| | | nfs |
| | | |
| | | {% if install_glusterfs|bool %} |
| | | glusterfs |
| | | {% else %} |
| | | #glusterfs |
| | | {% endif %} |
| | | |
| | | [masters] |
| | | {% for host in groups['masters']|sort %} |
| | |
| | | |
| | | ## These are CNS nodes |
| | | {% for host in groups['support']|sort %} |
| | | # {{ hostvars[host].internaldns }} openshift_hostname={{ hostvars[host].internaldns }} openshift_node_labels="{'env':'glusterfs', 'cluster': '{{guid}}'}" |
| | | {% if not install_glusterfs|bool %}# {% endif %}{{ hostvars[host].internaldns }} openshift_hostname={{ hostvars[host].internaldns }} openshift_node_labels="{'env':'glusterfs', 'cluster': '{{guid}}'}" |
| | | {% endfor %} |
| | | |
| | | [nfs] |
| | | {% set nfshost = groups['support']|sort|first %} |
| | | {{ hostvars[nfshost].internaldns }} openshift_hostname={{ hostvars[nfshost].internaldns }} |
| | | |
| | | {% if install_glusterfs|bool %} |
| | | [glusterfs] |
| | | {% else %} |
| | | #[glusterfs] |
| | | {% endif %} |
| | | |
| | | {% for host in groups['support']|sort %} |
| | | {% if install_glusterfs|bool %} |
| | | {{ hostvars[host].internaldns }} glusterfs_devices='[ "{{ glusterfs_app_device_name }}" ]' |
| | | {% else %} |
| | | # {{ hostvars[host].internaldns }} glusterfs_devices='[ "{{ glusterfs_app_device_name }}" ]' |
| | | {% endif %} |
| | | {% endfor %} |