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

View file

@ -9,7 +9,8 @@
- ufw-facts
# 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:
- kernel_version is version('4.14', '>=')
- kernel_version is version('5', '<')
@ -18,13 +19,15 @@
- ufw
- ufw-fix-dropped-ssh-sessions
- include: install.yml
- include_tasks:
file: install.yml
tags:
- configuration
- ufw
- ufw-install
- include: configure.yml
- include_tasks:
file: configure.yml
tags:
- configuration
- ufw