From 6a7cbe529342cd3c434b0b181bcc018bae3cd431 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Fri, 12 Aug 2016 13:43:58 -0400 Subject: Ensure etcd user exists in etcd_server_certificates by installing etcd. --- roles/etcd_server_certificates/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles') diff --git a/roles/etcd_server_certificates/tasks/main.yml b/roles/etcd_server_certificates/tasks/main.yml index 27bd2a88d..718515023 100644 --- a/roles/etcd_server_certificates/tasks/main.yml +++ b/roles/etcd_server_certificates/tasks/main.yml @@ -1,4 +1,8 @@ --- +- name: Install etcd + action: "{{ ansible_pkg_mgr }} name=etcd state=present" + when: not etcd_is_containerized | bool + - name: Check status of etcd certificates stat: path: "{{ etcd_cert_config_dir }}/{{ item }}" -- cgit v1.2.3