From 66d09c57b07c5dba9154f9e7aa05beb1e505efe3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 13 May 2020 14:04:56 +0200 Subject: [PATCH] simplyfy condition --- tasks/setup.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/setup.yml b/tasks/setup.yml index ddfa01e..565d856 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -5,9 +5,7 @@ ansible_become_pass: "{{ ucs_dns_become_password }}" delegate_to: "{{ ucs_dns_delegate_to }}" delegate_facts: True - when: - - ucs_dns_become_password is defined - - ucs_dns_become_password + when: ucs_dns_become_password is defined - name: Create DNS records udm_dns_record: