diff --git a/tasks/ufw.yml b/tasks/ufw.yml index f2b5774b..f390712c 100644 --- a/tasks/ufw.yml +++ b/tasks/ufw.yml @@ -98,7 +98,7 @@ ansible.builtin.shell: cmd: | set -o pipefail - ufw show added | grep '^ufw' | grep -v "'ansible\smanaged'" | sed 's/ufw //g' + ufw show added | grep '^ufw' | grep -i -v "'ansible\smanaged'" | sed 's/ufw //g' args: executable: /bin/bash changed_when: false