diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-06-20 10:48:00 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-06-20 10:48:53 +0200 |
commit | ed6c9f46272ef927611a1d2cc02826ea0028d571 (patch) | |
tree | 1a97560bf80062b9fd350164d55e38ade093de2e /roles | |
parent | c01d8bc6f65f2c7a4f2dc831414375f2d874273e (diff) | |
download | openshift-ed6c9f46272ef927611a1d2cc02826ea0028d571.tar.gz openshift-ed6c9f46272ef927611a1d2cc02826ea0028d571.tar.bz2 openshift-ed6c9f46272ef927611a1d2cc02826ea0028d571.tar.xz openshift-ed6c9f46272ef927611a1d2cc02826ea0028d571.zip |
etcd, system_container: do not mask etcd_container
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1462087
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles')
-rw-r--r-- | roles/etcd/tasks/system_container.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/etcd/tasks/system_container.yml b/roles/etcd/tasks/system_container.yml index 547cb448d..a01df66b3 100644 --- a/roles/etcd/tasks/system_container.yml +++ b/roles/etcd/tasks/system_container.yml @@ -36,11 +36,18 @@ name: etcd_container state: stopped enabled: no - masked: yes daemon_reload: yes register: task_result failed_when: task_result|failed and 'could not' not in task_result.msg|lower +- name: Remove etcd_container.service + file: + path: /etc/systemd/system/etcd_container.service + state: absent + +- name: Systemd reload configuration + systemd: name=etcd_container daemon_reload=yes + - name: Check for previous etcd data store stat: path: "{{ etcd_data_dir }}/member/" |