diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-08-12 13:43:58 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-08-12 13:43:58 -0400 |
commit | 6a7cbe529342cd3c434b0b181bcc018bae3cd431 (patch) | |
tree | da695f0579f710e11cf36eeac228dc2a11ececf3 | |
parent | 34c9ba2d290cb84a79315343f9155d5081f2896f (diff) | |
download | openshift-6a7cbe529342cd3c434b0b181bcc018bae3cd431.tar.gz openshift-6a7cbe529342cd3c434b0b181bcc018bae3cd431.tar.bz2 openshift-6a7cbe529342cd3c434b0b181bcc018bae3cd431.tar.xz openshift-6a7cbe529342cd3c434b0b181bcc018bae3cd431.zip |
Ensure etcd user exists in etcd_server_certificates by installing etcd.
-rw-r--r-- | roles/etcd_server_certificates/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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 }}" |