diff options
author | Wesley Hearn <wesley.s.hearn@gmail.com> | 2016-03-18 10:39:14 -0400 |
---|---|---|
committer | Wesley Hearn <wesley.s.hearn@gmail.com> | 2016-03-18 10:39:14 -0400 |
commit | 03066664a45c12ed01b952da5a965246833cba33 (patch) | |
tree | d4896a7d4f8f88d419143e710faae9df9cf8c06e /playbooks/libvirt/openshift-cluster/vars.yml | |
parent | 8150c4518fee13a3e54595b19bd05b32048f606a (diff) | |
parent | 74425eca1e738ca124ee2004ea5c7d6782ddbeb9 (diff) | |
download | openshift-03066664a45c12ed01b952da5a965246833cba33.tar.gz openshift-03066664a45c12ed01b952da5a965246833cba33.tar.bz2 openshift-03066664a45c12ed01b952da5a965246833cba33.tar.xz openshift-03066664a45c12ed01b952da5a965246833cba33.zip |
Merge pull request #1626 from codificat/libvirt-vars-fix
libvirt cluster variables cleanup
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/vars.yml')
-rw-r--r-- | playbooks/libvirt/openshift-cluster/vars.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/playbooks/libvirt/openshift-cluster/vars.yml b/playbooks/libvirt/openshift-cluster/vars.yml index f28245f88..aa0c69e08 100644 --- a/playbooks/libvirt/openshift-cluster/vars.yml +++ b/playbooks/libvirt/openshift-cluster/vars.yml @@ -1,8 +1,11 @@ --- -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' +default_pool_path: "{{ lookup('env','HOME') }}/libvirt-storage-pool-openshift-ansible" +libvirt_storage_pool_path: "{{ lookup('oo_option', 'libvirt_storage_pool_path') | default(default_pool_path, True) }}" +libvirt_storage_pool: "{{ lookup('oo_option', 'libvirt_storage_pool') | default('openshift-ansible', True) }}" +libvirt_network: "{{ lookup('oo_option', 'libvirt_network') | default('openshift-ansible', True) }}" +libvirt_instance_memory_mib: "{{ lookup('oo_option', 'libvirt_instance_memory_mib') | default(1024, True) }}" +libvirt_instance_vcpu: "{{ lookup('oo_option', 'libvirt_instance_vcpu') | default(2, True) }}" +libvirt_uri: "{{ lookup('oo_option', 'libvirt_uri') | default('qemu:///system', True) }}" debug_level: 2 # Automatic download of the qcow2 image for RHEL cannot be done directly from the RedHat portal because it requires authentication. |