summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-master/config.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-01-23 17:27:24 -0500
committerGitHub <noreply@github.com>2017-01-23 17:27:24 -0500
commit8b4c3d65469c444402317eaaecae9e955b4b4f20 (patch)
treedb94ca532cc78dc4d8d058fcd1a92b7f5e1eb43c /playbooks/common/openshift-master/config.yml
parent27271874f77a5ac32da199d689b88a82cb903f08 (diff)
parent028814e4ab6ee1de25bd5a9b0971e9ac95b13bea (diff)
downloadopenshift-8b4c3d65469c444402317eaaecae9e955b4b4f20.tar.gz
openshift-8b4c3d65469c444402317eaaecae9e955b4b4f20.tar.bz2
openshift-8b4c3d65469c444402317eaaecae9e955b4b4f20.tar.xz
openshift-8b4c3d65469c444402317eaaecae9e955b4b4f20.zip
Merge pull request #3155 from abutcher/bz1368579
Remove unused temporary directory in master config playbook.
Diffstat (limited to 'playbooks/common/openshift-master/config.yml')
-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