Skip to content

Commit

Permalink
Merge pull request #639 from konstruktoid/ufw
Browse files Browse the repository at this point in the history
ignore case in UFW comments
  • Loading branch information
konstruktoid committed May 6, 2024
2 parents 2a94498 + 9d527f7 commit 04cb14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/ufw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04cb14e

Please sign in to comment.