summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/vars.yml
blob: c78b5286776e72fe558258ed8d870791595d97db (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
---
libvirt_storage_pool_path: "{{ lookup('env','HOME') }}/libvirt-storage-pool-openshift-ansible"
libvirt_storage_pool: 'openshift-ansible'
libvirt_network: openshift-ansible
libvirt_uri: 'qemu:///system'
debug_level: 2

# Automatic download of the qcow2 image for RHEL cannot be done directly from the RedHat portal because it requires authentication.
# The default value of image_url for enterprise and openshift-enterprise deployment types below won't work.
deployment_rhel7_ent_base:
  image:
    url:    "{{ lookup('oo_option', 'image_url') |
                default('https://access.cdn.redhat.com//content/origin/files/sha256/25/25f880767ec6bf71beb532e17f1c45231640bbfdfbbb1dffb79d2c1b328388e0/rhel-guest-image-7.2-20151102.0.x86_64.qcow2', True) }}"
    name:   "{{ lookup('oo_option', 'image_name') |
                default('rhel-guest-image-7.2-20151102.0.x86_64.qcow2', True) }}"
    sha256: "{{ lookup('oo_option', 'image_sha256') |
                default('25f880767ec6bf71beb532e17f1c45231640bbfdfbbb1dffb79d2c1b328388e0', True) }}"
    compression: ""
  ssh_user: openshift
  sudo: yes

deployment_vars:
  origin:
    image:
      url:    "{{ lookup('oo_option', 'image_url') |
                  default('http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2.xz', True) }}"
      compression:   "{{ lookup('oo_option', 'image_compression') |
                         default('xz', True) }}"
      name:   "{{ lookup('oo_option', 'image_name') |
                  default('CentOS-7-x86_64-GenericCloud.qcow2', True) }}"
      sha256: "{{ lookup('oo_option', 'image_sha256') |
                  default('9461006300d65172f5668d8875f2aad7b54f7ba4e9c5435d65a84a5a2d66e39b', True) }}"
    ssh_user: openshift
    sudo: yes
  online:
    image:
      url:
      name:
      sha256:
    ssh_user: root
    sudo: no
  enterprise: "{{ deployment_rhel7_ent_base }}"
  openshift-enterprise: "{{ deployment_rhel7_ent_base }}"
  atomic-enterprise: "{{ deployment_rhel7_ent_base }}"