Use to_nice_json to manage packages list
This commit is contained in:
parent
f47be2bebe
commit
2dcf0ab10e
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -1,10 +1,11 @@
|
||||||
## v1.X
|
## v1.4.1
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
* Set empty dependencies line to fix Galaxy warning.
|
* Set empty dependencies line to fix Galaxy warning.
|
||||||
* Add possibility to restart Fail2ban service.
|
* Add possibility to restart Fail2ban service.
|
||||||
|
* Use to_nice_json to manage packages list.
|
||||||
|
|
||||||
## v1.4
|
## v1.4.0
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
* Set a variable to enable/disable the support of Nftables.
|
* Set a variable to enable/disable the support of Nftables.
|
||||||
|
@ -20,7 +21,7 @@
|
||||||
### Fix
|
### Fix
|
||||||
* Reload systemd daemons only if unit file change.
|
* Reload systemd daemons only if unit file change.
|
||||||
|
|
||||||
## v1.3
|
## v1.3.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Provide the systemd unit.
|
* Provide the systemd unit.
|
||||||
|
@ -38,7 +39,7 @@
|
||||||
### Features
|
### Features
|
||||||
* Allow icmpv6 outgoing traffic.
|
* Allow icmpv6 outgoing traffic.
|
||||||
|
|
||||||
## v1.2
|
## v1.2.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Ensure to remove old packages (iptables,…).
|
* Ensure to remove old packages (iptables,…).
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
### Fixes
|
### Fixes
|
||||||
* Ensure to create the the directory to store the differents configuration files (/etc/nftables.d).
|
* Ensure to create the the directory to store the differents configuration files (/etc/nftables.d).
|
||||||
|
|
||||||
## v1.1
|
## v1.1.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Manage nftables service at startup.
|
* Manage nftables service at startup.
|
||||||
|
@ -59,7 +60,7 @@
|
||||||
* Remove DHCP incoming packets. The connection is started by the host, don't need incoming rule.
|
* Remove DHCP incoming packets. The connection is started by the host, don't need incoming rule.
|
||||||
* Allow outgoing OpenPGP HTTP requests.
|
* Allow outgoing OpenPGP HTTP requests.
|
||||||
|
|
||||||
## v1.0
|
## v1.0.0
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
* Install `nftables` package for Debian based distros.
|
* Install `nftables` package for Debian based distros.
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
state: '{{ nft_pkg_state }}'
|
state: '{{ nft_pkg_state }}'
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ nft_pkg_list }}'
|
- '{{ nft_pkg_list | to_nice_json }}'
|
||||||
when: nft_enabled|bool
|
when: nft_enabled|bool
|
||||||
|
|
||||||
- name: INSTALL Remove iptables packages
|
- name: INSTALL Remove iptables packages
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
state: '{{ nft_old_pkg_state }}'
|
state: '{{ nft_old_pkg_state }}'
|
||||||
with_items:
|
with_items:
|
||||||
- '{{ nft_old_pkg_list }}'
|
- '{{ nft_old_pkg_list | to_nice_json }}'
|
||||||
when: (nft_enabled|bool and
|
when: (nft_enabled|bool and
|
||||||
nft_old_pkg_manage|bool)
|
nft_old_pkg_manage|bool)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue