summaryrefslogtreecommitdiffstats
path: root/roles/openshift_common/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-05 16:37:39 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-03-06 15:53:51 -0500
commitf744401ae8b1968bc0d404f5cb5504c492a2f0aa (patch)
tree5d07d5f523a96107fd1cbd110d40a88b59392561 /roles/openshift_common/tasks
parent3aed7219448ab99377643c71d05f2a26b6e11c99 (diff)
downloadopenshift-f744401ae8b1968bc0d404f5cb5504c492a2f0aa.tar.gz
openshift-f744401ae8b1968bc0d404f5cb5504c492a2f0aa.tar.bz2
openshift-f744401ae8b1968bc0d404f5cb5504c492a2f0aa.tar.xz
openshift-f744401ae8b1968bc0d404f5cb5504c492a2f0aa.zip
Do not set KUBECONFIG for root user
- instead of setting KUBECONFIG, copy the admin kubeconfig to /root/.kube/.kubeconfig in the openshift_master and openshift_node roles - pause for 30 seconds if the openshift-master service has changed state, since the file we are copying is generated by the master
Diffstat (limited to 'roles/openshift_common/tasks')
-rw-r--r--roles/openshift_common/tasks/main.yml8
1 files changed, 0 insertions, 8 deletions
diff --git a/roles/openshift_common/tasks/main.yml b/roles/openshift_common/tasks/main.yml
index 723bdd9fa..728bba4e4 100644
--- a/roles/openshift_common/tasks/main.yml
+++ b/roles/openshift_common/tasks/main.yml
@@ -7,14 +7,6 @@
- name: Configure local facts file
file: path=/etc/ansible/facts.d/ state=directory mode=0750
-- name: Add KUBECONFIG to .bash_profile for user root
- lineinfile:
- dest: /root/.bash_profile
- regexp: "KUBECONFIG="
- line: "export KUBECONFIG=/var/lib/openshift/openshift.local.certificates/admin/.kubeconfig"
- state: present
- insertafter: EOF
-
- name: Set common OpenShift facts
include: set_facts.yml
facts: