diff --git a/playbooks/config-nextdns.yml b/playbooks/config-nextdns.yml index 52001e0..b604d58 100644 --- a/playbooks/config-nextdns.yml +++ b/playbooks/config-nextdns.yml @@ -13,4 +13,4 @@ - name: Download and Install NextDNS CLI ansible.builtin.shell: cmd: printf "i\ne3448e\nY\nY\nY" |sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"' - when: nextdns_status.rc == 0 \ No newline at end of file + when: nextdns_status.stdout == "" \ No newline at end of file