diff --git a/ansible-scylla-node/tasks/ssl.yml b/ansible-scylla-node/tasks/ssl.yml index 2aa80f2b..13723945 100644 --- a/ansible-scylla-node/tasks/ssl.yml +++ b/ansible-scylla-node/tasks/ssl.yml @@ -83,6 +83,9 @@ privatekey_path: "{{ inventory_dir }}/ssl/ca/{{ scylla_cluster_name }}-ca.pem" csr_content: "{{ ca_csr.csr }}" provider: selfsigned + + - set_fact: + _ca_crt_and_key_exist: True when: _crt_and_key_exist == False and _ca_crt_and_key_exist == False delegate_to: localhost run_once: true