From 19692b5d7fe5d331d1cbe6b1f8071f12ebc1aa8b Mon Sep 17 00:00:00 2001 From: ace Date: Fri, 10 Feb 2023 00:57:18 +0300 Subject: [PATCH] fix --- handlers/main.yaml | 2 +- tasks/cacert.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 }}"