From a0cdeb9741578dcd816be895c65656d887e73095 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Wed, 23 Dec 2020 04:57:12 -0700 Subject: [PATCH] fixing --- tasks/main.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 99968ee..43fc9a9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,22 +15,6 @@ success_msg: "IPA enrolled, moving on" quiet: true -- name: Check certificate existence - stat: - path: "{{ item.key_location | default(ipa_getcert_cert_default_location) }}/{{ item.name }}.crt" - register: cert_results - with_items: "{{ ipa_getcert_requested_hostnames }}" - ignore_errors: true - -- name: Verify certificate existence - assert: - that: - - not item.stat.exists | mandatory - fail_msg: "Certificate already exists!" - success_msg: "Certificate doesn't exist, moving on" - quiet: true - with_items: "{{ cert_results.results }}" - - name: IPA Certificate Operations block: - name: Deploy ipa-getcert script