etcd has been available in Ubuntu and Debian for some time. Use the distribution package to install it, following the other backends like redis. Change-Id: I4eaefb1eddd0158a18e30e40dcaff9521632fcec Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
12 lines
285 B
YAML
12 lines
285 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Include OS-specific variables
|
|
include_vars: "{{ ansible_os_family }}.yaml"
|
|
- name: "Stop etcd services"
|
|
service:
|
|
name: "{{ item }}"
|
|
state: stopped
|
|
enabled: no
|
|
become: yes
|
|
loop: "{{ etcd_services }}"
|