Fix deprecation warning for state "installed"

This commit is contained in:
Jeremy Gardais 2018-07-25 15:09:04 +02:00
parent 485f7fa83d
commit 733b546e56
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
3 changed files with 5 additions and 3 deletions

View File

@ -4,10 +4,12 @@
* Set a variable to enable/disable the support of Nftables.
* Move two task in systemd handler (try to fix #1).
### Fix
* Deprecation warning for state "installed".
## v1.3.1
### Fix
* Reload systemd daemons only if unit file change.
## v1.3

View File

@ -20,7 +20,7 @@ Highly inspired by [Mike Gleason firewall role][mikegleasonjr firewall github] (
## Role Variables
* **nft_enabled**: Enable or disable support for Nftables [default: `true`].
* **nft_pkg_state**: State of new `nftables` package(s) [default: `installed`].
* **nft_pkg_state**: State of new `nftables` package(s) [default: `present`].
* **nft_old_pkg_list**: The list of useless packages to remove (such as Iptables,…) [default: `iptables`].
* **nft_old_pkg_state**: State of old package(s) [default: `absent`].
* **nft_old_pkg_manage**: If old package(s) should be managed with this role [default: `true`].

View File

@ -17,7 +17,7 @@ nft_enabled: true
# ]]]
# packages
nft_pkg_state: 'installed'
nft_pkg_state: 'present'
nft_old_pkg_list: 'iptables'
nft_old_pkg_state: 'absent'
nft_old_pkg_manage: true