summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-01-23 16:48:03 -0500
committerAndrew Butcher <abutcher@redhat.com>2017-01-23 16:48:03 -0500
commit028814e4ab6ee1de25bd5a9b0971e9ac95b13bea (patch)
tree72904cad63560fb6c179130628a4c5548d4ca370 /playbooks/common/openshift-master
parentc24aec308f515dd7a1ae09d35cd95617530615b9 (diff)
downloadopenshift-028814e4ab6ee1de25bd5a9b0971e9ac95b13bea.tar.gz
openshift-028814e4ab6ee1de25bd5a9b0971e9ac95b13bea.tar.bz2
openshift-028814e4ab6ee1de25bd5a9b0971e9ac95b13bea.tar.xz
openshift-028814e4ab6ee1de25bd5a9b0971e9ac95b13bea.zip
Remove unused temporary directory in master config playbook.
Diffstat (limited to 'playbooks/common/openshift-master')
-rw-r--r--playbooks/common/openshift-master/config.yml21
1 files changed, 0 insertions, 21 deletions
diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml
index de36fd263..7a334e771 100644
--- a/playbooks/common/openshift-master/config.yml
+++ b/playbooks/common/openshift-master/config.yml
@@ -75,17 +75,6 @@
ha: "{{ openshift_master_ha | default(groups.oo_masters | length > 1) }}"
master_count: "{{ openshift_master_count | default(groups.oo_masters | length) }}"
-- name: Create temp directory for syncing certs
- hosts: localhost
- connection: local
- become: no
- gather_facts: no
- tasks:
- - name: Create local temp directory for syncing certs
- local_action: command mktemp -d /tmp/openshift-ansible-XXXXXXX
- register: g_master_mktemp
- changed_when: False
-
- name: Determine if session secrets must be generated
hosts: oo_first_master
roles:
@@ -117,7 +106,6 @@
hosts: oo_masters_to_config
any_errors_fatal: true
vars:
- sync_tmpdir: "{{ hostvars.localhost.g_master_mktemp.stdout }}"
openshift_master_ha: "{{ openshift.master.ha }}"
openshift_master_count: "{{ openshift.master.master_count }}"
openshift_master_session_auth_secrets: "{{ hostvars[groups.oo_first_master.0].openshift.master.session_auth_secrets }}"
@@ -144,12 +132,3 @@
- name: Create group for deployment type
group_by: key=oo_masters_deployment_type_{{ openshift.common.deployment_type }}
changed_when: False
-
-- name: Delete temporary directory on localhost
- hosts: localhost
- connection: local
- become: no
- gather_facts: no
- tasks:
- - file: name={{ g_master_mktemp.stdout }} state=absent
- changed_when: False