summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/config.yml
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-01-04 11:44:50 -0500
committerKenny Woodson <kwoodson@redhat.com>2016-01-04 11:44:50 -0500
commit1a5319841b028d94294f683e407963742f340fe5 (patch)
tree08aa6aa833a3bf04cab1645b790bee1bc27ef6f3 /playbooks/libvirt/openshift-cluster/config.yml
parent265cd64555c9262f0896505caa6b036f6092dd0d (diff)
parentda8165469a43dc3bf43b2024a76edcd04be0bb81 (diff)
downloadopenshift-1a5319841b028d94294f683e407963742f340fe5.tar.gz
openshift-1a5319841b028d94294f683e407963742f340fe5.tar.bz2
openshift-1a5319841b028d94294f683e407963742f340fe5.tar.xz
openshift-1a5319841b028d94294f683e407963742f340fe5.zip
Merge pull request #958 from kwoodson/envfix
Fixing meta data tags env and environment
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/config.yml')
-rw-r--r--playbooks/libvirt/openshift-cluster/config.yml27
1 files changed, 7 insertions, 20 deletions
diff --git a/playbooks/libvirt/openshift-cluster/config.yml b/playbooks/libvirt/openshift-cluster/config.yml
index dcaec3924..be9cbbfaa 100644
--- a/playbooks/libvirt/openshift-cluster/config.yml
+++ b/playbooks/libvirt/openshift-cluster/config.yml
@@ -2,27 +2,14 @@
# TODO: need to figure out a plan for setting hostname, currently the default
# is localhost, so no hostname value (or public_hostname) value is getting
# assigned
-
-- hosts: localhost
- gather_facts: no
- become: no
- connection: local
- vars_files:
- - vars.yml
- tasks:
- - set_fact:
- g_ssh_user_tmp: "{{ deployment_vars[deployment_type].ssh_user }}"
- g_sudo_tmp: "{{ deployment_vars[deployment_type].sudo }}"
-
- include: ../../common/openshift-cluster/config.yml
+ vars_files:
+ - ../../libvirt/openshift-cluster/vars.yml
+ - ../../libvirt/openshift-cluster/cluster_hosts.yml
vars:
- g_etcd_hosts: "{{ (groups['tag_host-type-etcd']|default([])) | intersect((groups['tag_env-' ~ cluster_id]|default([]))) }}"
- g_lb_hosts: "{{ (groups['tag_host-type-lb']|default([])) | intersect((groups['tag_env-' ~ cluster_id]|default([]))) }}"
- g_master_hosts: "{{ (groups['tag_host-type-master']|default([])) | intersect((groups['tag_env-' ~ cluster_id]|default([]))) }}"
- g_nfs_hosts: "{{ (groups['tag_host-type-node']|default([])) | intersect((groups['tag_env-' ~ cluster_id]|default([]))) }}"
- g_node_hosts: "{{ (groups['tag_host-type-node']|default([])) | intersect((groups['tag_env-' ~ cluster_id]|default([]))) }}"
- g_ssh_user: "{{ hostvars.localhost.g_ssh_user_tmp }}"
- g_sudo: "{{ hostvars.localhost.g_sudo_tmp }}"
+ g_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"
+ g_sudo: "{{ deployment_vars[deployment_type].sudo }}"
+ g_nodeonmaster: true
openshift_cluster_id: "{{ cluster_id }}"
- openshift_debug_level: 2
+ openshift_debug_level: "{{ debug_level }}"
openshift_deployment_type: "{{ deployment_type }}"