Fix deprecation warning (#495)

https://github.com/Oefenweb/ansible-ufw/pull/44
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #495
This commit is contained in:
Michael Grote 2023-04-06 20:15:29 +02:00
parent 335104b6c5
commit d17caba23d
1 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,8 @@
- ufw-facts - ufw-facts
# see https://askubuntu.com/a/1064533/261010, https://www.spinics.net/lists/netfilter-devel/msg55682.html # see https://askubuntu.com/a/1064533/261010, https://www.spinics.net/lists/netfilter-devel/msg55682.html
- include: fix-dropped-ssh-sessions.yml - include_tasks:
file: fix-dropped-ssh-sessions.yml
when: when:
- kernel_version is version('4.14', '>=') - kernel_version is version('4.14', '>=')
- kernel_version is version('5', '<') - kernel_version is version('5', '<')
@ -18,13 +19,15 @@
- ufw - ufw
- ufw-fix-dropped-ssh-sessions - ufw-fix-dropped-ssh-sessions
- include: install.yml - include_tasks:
file: install.yml
tags: tags:
- configuration - configuration
- ufw - ufw
- ufw-install - ufw-install
- include: configure.yml - include_tasks:
file: configure.yml
tags: tags:
- configuration - configuration
- ufw - ufw