summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd/restart.yml
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-11-16 11:31:29 -0500
committerRussell Teague <rteague@redhat.com>2017-11-16 14:28:30 -0500
commit79939ca092b9ee0fe31e5964102c60fca73da568 (patch)
treeab3da0b6e4fe90215d18d28fbd58b79c24e501c6 /playbooks/common/openshift-etcd/restart.yml
parent7a18158c1df667d2bc45fae3ca62ed35400bedb8 (diff)
downloadopenshift-79939ca092b9ee0fe31e5964102c60fca73da568.tar.gz
openshift-79939ca092b9ee0fe31e5964102c60fca73da568.tar.bz2
openshift-79939ca092b9ee0fe31e5964102c60fca73da568.tar.xz
openshift-79939ca092b9ee0fe31e5964102c60fca73da568.zip
Playbook Consolidation - openshift-etcd
Diffstat (limited to 'playbooks/common/openshift-etcd/restart.yml')
-rw-r--r--playbooks/common/openshift-etcd/restart.yml27
1 files changed, 0 insertions, 27 deletions
diff --git a/playbooks/common/openshift-etcd/restart.yml b/playbooks/common/openshift-etcd/restart.yml
deleted file mode 100644
index 5eaea5ae8..000000000
--- a/playbooks/common/openshift-etcd/restart.yml
+++ /dev/null
@@ -1,27 +0,0 @@
----
-- name: Restart etcd
- hosts: oo_etcd_to_config
- serial: 1
- tasks:
- - name: restart etcd
- service:
- name: "{{ 'etcd_container' if openshift.common.etcd_runtime == 'docker' else 'etcd' }}"
- state: restarted
- when:
- - not g_etcd_certificates_expired | default(false) | bool
-
-- name: Restart etcd
- hosts: oo_etcd_to_config
- tasks:
- - name: stop etcd
- service:
- name: "{{ 'etcd_container' if openshift.common.etcd_runtime == 'docker' else 'etcd' }}"
- state: stopped
- when:
- - g_etcd_certificates_expired | default(false) | bool
- - name: start etcd
- service:
- name: "{{ 'etcd_container' if openshift.common.etcd_runtime == 'docker' else 'etcd' }}"
- state: started
- when:
- - g_etcd_certificates_expired | default(false) | bool