diff --git a/tasks/main.yml b/tasks/main.yml index df2c703..dd5fdd7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -25,8 +25,7 @@ - molecule-idempotence-notest block: - name: Check if the key is already present in the DNSdist configuration file - ansible.builtin.shell: | - set -o pipefail && fgrep setKey "{{ default_dnsdist_config_location }}" | sed 's/setKey("\(.*\)")/\1/' + ansible.builtin.shell: fgrep setKey "{{ default_dnsdist_config_location }}" | sed 's/setKey("\(.*\)")/\1/' register: dnsdist_grepkey_cmd changed_when: false failed_when: false