diff --git a/handlers/main.yaml b/handlers/main.yaml index 3a92f5c..3571a8f 100644 --- a/handlers/main.yaml +++ b/handlers/main.yaml @@ -7,4 +7,4 @@ daemon_reload: yes when: - not consul_setup.changed - - not consul_enable_and_start.changed" + - not consul_enable_and_start.changed diff --git a/tasks/cacert.yaml b/tasks/cacert.yaml index 855cccf..4c9e808 100644 --- a/tasks/cacert.yaml +++ b/tasks/cacert.yaml @@ -1,3 +1,9 @@ +- name: Install python3-cryptography as dependence + dnf: + name: python3-cryptography + state: present + when: ansible_facts['os_family'] == 'RedHat' + - name: Check if ssl dir exist file: name: "{{ consul_ssl_path }}"