summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/vars.yml
blob: 1ae7c17d2bd16f7ea9efc7b4ce63f04d13bfb467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
openstack_infra_heat_stack:     "{{ lookup('oo_option', 'infra_heat_stack' ) |
                                    default('files/heat_stack.yml',          True) }}"
openstack_network_prefix:       "{{ lookup('oo_option', 'network_prefix'   ) |
                                    default('openshift-ansible-'+cluster_id, True) }}"
openstack_network_cidr:         "{{ lookup('oo_option', 'net_cidr'         ) |
                                    default('192.168.' + ( ( 1048576 | random % 256 ) | string() ) + '.0/24', True) }}"
openstack_network_external_net: "{{ lookup('oo_option', 'external_net'     ) |
                                    default('external',                      True) }}"
openstack_floating_ip_pools:    "{{ lookup('oo_option', 'floating_ip_pools') |
                                    default('external',                      True) | oo_split() }}"
openstack_network_dns:          "{{ lookup('oo_option', 'dns'              ) |
                                    default('8.8.8.8,8.8.4.4',               True) | oo_split() }}"
openstack_ssh_keypair:          "{{ lookup('oo_option', 'keypair'          ) |
                                    default(lookup('env', 'LOGNAME')+'_key', True) }}"
openstack_ssh_public_key:       "{{ lookup('file', lookup('oo_option', 'public_key') |
                                    default('~/.ssh/id_rsa.pub',             True)) }}"
openstack_ssh_access_from:      "{{ lookup('oo_option', 'ssh_from')          |
                                    default('0.0.0.0/0',                     True) }}"
openstack_flavor:
  master:
    ram:     "{{ lookup('oo_option', 'master_flavor_ram'    ) | default(2048, True) }}"
    id:      "{{ lookup('oo_option', 'master_flavor_id'     ) | default(True) }}"
    include: "{{ lookup('oo_option', 'master_flavor_include') | default(True) }}"
  node:
    ram:     "{{ lookup('oo_option', 'node_flavor_ram'      ) | default(4096, True) }}"
    id:      "{{ lookup('oo_option', 'node_flavor_id'       ) | default(True) }}"
    include: "{{ lookup('oo_option', 'node_flavor_include'  ) | default(True) }}"

deployment_vars:
  origin:
    image:
      name: "{{ lookup('oo_option', 'image_name') | default('centos-70-raw', True) }}"
      id:
    ssh_user: openshift
    sudo: yes
  online:
    image:
      name:
      id:
    ssh_user: root
    sudo: no
  enterprise:
    image:
      name: "{{ lookup('oo_option', 'image_name') | default('rhel-guest-image-7.1-20150224.0.x86_64', True) }}"
      id:
    ssh_user: openshift
    sudo: yes