summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/defaults/main.yml
blob: b97b58488c9f6350b84168f8cd2545b20a8539a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
openshift_common_subroles: "{{ [ 'hostnames', 'users', 'security', 'storage' ] }}"
openshift_heketi_subroles: "{{ [ 'ssh', 'heketi' ] }}"
openshift_all_subroles: "{{ ands_configure_heketi | default(False) | ternary(openshift_common_subroles + openshift_heketi_subroles, openshift_common_subroles) }}"

openshift_subroles: "{{ ( subrole is defined ) | ternary( [ subrole ], openshift_all_subroles ) }}"

openshift_namespace: "default"

ssh_template_path: "{{ ands_paths.provision }}/ssh/"
storage_template_path: "{{ ands_paths.provision }}/gfs/"
heketi_template_path: "{{ ands_paths.provision }}/heketi/"
ands_openshift_patch_path: "{{ ands_paths.provision }}/patch/"

openshift_storage_nodes: "{{ groups.storage_nodes | map('extract', hostvars, 'ands_storage_hostname') | list }}"