diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-06-22 09:30:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-22 09:30:50 +0200 |
commit | d1e2928a8c1a91e3cfbb345e9e85589a3f260c15 (patch) | |
tree | adc30b6c6a41089f74e7856006861d3848ea0740 | |
parent | 7db01fed21421ca9dbdcb1219b6da578db8bb96c (diff) | |
parent | 21b2249b3029beaa5f44b2a2847aaae241e78f96 (diff) | |
download | openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.tar.gz openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.tar.bz2 openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.tar.xz openshift-d1e2928a8c1a91e3cfbb345e9e85589a3f260c15.zip |
Merge pull request #4504 from ingvagabund/restart-the-right-etcd-service
detect etcd service name based on etcd runtime when restarting
-rw-r--r-- | playbooks/common/openshift-etcd/restart.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-etcd/restart.yml b/playbooks/common/openshift-etcd/restart.yml index 196c86f28..af1ef245a 100644 --- a/playbooks/common/openshift-etcd/restart.yml +++ b/playbooks/common/openshift-etcd/restart.yml @@ -5,5 +5,5 @@ tasks: - name: restart etcd service: - name: "{{ 'etcd' if not openshift.common.is_containerized | bool else 'etcd_container' }}" + name: "{{ 'etcd_container' if openshift.common.etcd_runtime == 'docker' else 'etcd' }}" state: restarted |