summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-etcd/restart.yml
blob: 196c86f28c736b91e71b0b753663b7b023feb7b4 (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' if not openshift.common.is_containerized | bool else 'etcd_container' }}"
        state: restarted