diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2016-03-11 02:56:16 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2016-03-14 11:38:20 -0400 |
commit | 8f7b31051dae0cdb853ca2f7fb68c31a40ae2967 (patch) | |
tree | 6719a20fe3e1559c563985adc02332357e37e576 /roles/etcd/tasks | |
parent | 1565bc6e71bdda712d4cfdbf28754f00b38a4674 (diff) | |
download | openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.tar.gz openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.tar.bz2 openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.tar.xz openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.zip |
improve ordering of systemd units
Diffstat (limited to 'roles/etcd/tasks')
-rw-r--r-- | roles/etcd/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/etcd/tasks/main.yml b/roles/etcd/tasks/main.yml index 0be042f7f..d6956de71 100644 --- a/roles/etcd/tasks/main.yml +++ b/roles/etcd/tasks/main.yml @@ -36,6 +36,10 @@ state: stopped enabled: no +- name: Mask system etcd when containerized + when: openshift.common.is_containerized | bool + command: systemctl mask etcd + - name: Reload systemd units command: systemctl daemon-reload when: openshift.common.is_containerized | bool and ( install_etcd_result | changed ) |