summaryrefslogtreecommitdiffstats
path: root/roles/ands_openshift/defaults/main.yml
blob: feec093c942d5a7852bf1a3588b0acccc4fa9250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
openshift_common_subroles: "{{ [ 'projects', 'resources', '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 }}"