diff options
-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 }}" |