diff --git a/requirements.yml b/requirements.yml index 40cff1e..5991574 100644 --- a/requirements.yml +++ b/requirements.yml @@ -4,3 +4,4 @@ collections: - 'community.crypto' + - 'ansible.utils' diff --git a/tasks/main.yml b/tasks/main.yml index c6ee21e..709f000 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -24,6 +24,7 @@ when: - not no_prompts - not item | valid_hostname + - not item | valid_ip loop: "{{ CERT_CONFIG.cert.domains }}" - name: Certificates | Internal signed