Skip to content

Commit 73fa9a1

Browse files
authored
Merge pull request #73 from Jakski/master
Run correctly in check mode
2 parents 13bcd2d + 70cd359 commit 73fa9a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
ansible.builtin.command: >
1616
fail2ban-server -V
1717
changed_when: false
18+
check_mode: false
1819
register: _fail2ban_version_raw
1920
tags:
2021
- configuration
@@ -25,6 +26,7 @@
2526
ansible.builtin.set_fact:
2627
fail2ban_version: "{{ _fail2ban_version_raw.stdout | regex_search('([0-9]+\\.[0-9]+\\.[0-9]+)') }}"
2728
changed_when: false
29+
check_mode: false
2830
tags:
2931
- configuration
3032
- fail2ban

0 commit comments

Comments
 (0)