summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd/restart.yml
blob: af1ef245abcd0ad744893fa5f32e3b5e30f63021 (plain)
1
2
3
4
5
6
7
8
9
---
- 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