Jeremy Gardais
4c728cb70a
Release v2.0.1
2021-08-26 09:57:04 +02:00
Jeremy Gardais
c7512f7b13
Separate repo update from install task ( fix #24 )
2021-08-25 15:34:03 +02:00
Jeremy Gardais
97440461df
Merge branch 'VTimofeenko-gentoo_molecule'
2021-08-25 15:28:15 +02:00
Vladimir Timofeenko
542f562c41
Added molecule tests for Gentoo
...
This commit adds molecule tests for Gentoo.
Since the tests run inside docker and on systemd system, the host system
also needs to run systemd.
The tests create volumes in /srv/ so that artifacts that take a long
time to build and synchronize are reused between test runs.
This specific commit also fixes the error in ipr-cnrs/nftables#24
2021-08-20 16:50:28 -07:00
Jeremy Gardais
2902c9b77e
Release v2.0.0
2021-08-19 16:34:45 +02:00
Jeremy Gardais
be2b941e79
Merge branch 'improve-systemd-unit'
2021-08-19 15:24:32 +02:00
Jeremy Gardais
4267dd455e
Add Molecule tests for systemd unit
2021-08-19 13:56:26 +02:00
Jeremy Gardais
68c5d4e9f7
Remove recurse on fail2ban custom directory
...
Molecule idempotence test
2021-08-18 16:02:22 +02:00
Jeremy Gardais
34c2668912
Fix systemd directories permissions
2021-08-13 11:52:04 +02:00
Jeremy Gardais
1a5e044ebb
Move systemd "Protect" options to override file
...
Rebase after Gentoo related commits
2021-08-13 11:51:54 +02:00
Jeremy Gardais
477f4f722c
Ensure to disable nftables unit from old target
2021-08-13 11:50:41 +02:00
Jeremy Gardais
a34e5441a9
Start nftables systemd unit earlier
...
Source: nftables 0.9.8-3.1 from Debian Bullseye
Thanks to @kravietz − PR #19
2021-08-13 11:50:41 +02:00
Jeremy Gardais
abdc15191b
Add infos about Fail2ban integration
2021-08-13 11:50:41 +02:00
Jeremy Gardais
ac61739f91
Automatically add overrides for fail2ban unit
2021-08-13 11:50:40 +02:00
Jeremy Gardais
5001448a81
Drop fail2ban restart from nftables unit
...
Rebase after Gentoo related commits
2021-08-13 11:50:31 +02:00
Jeremy Gardais
28cf15ee42
Manage Fail2ban in the "systemd way"
...
Thanks to @FinweVI !
Rebase after Gentoo related commits
2021-08-13 11:48:27 +02:00
Jeremy Gardais
5dbf5b9b1c
Merge branch 'VTimofeenko-master'
2021-08-13 11:37:58 +02:00
Jeremy Gardais
fd52a88be0
Merge branch 'master' of https://github.com/VTimofeenko/nftables into VTimofeenko-master
2021-08-13 11:37:44 +02:00
Vladimir Timofeenko
a442b8f637
Added ability to specify nft bin location
...
Gentoo installs nft binary into /sbin/nft in accordance with the
filesystem spec:
https://devmanual.gentoo.org/general-concepts/filesystem/
This commit adds the ability to specify the location of nft binary
through variable nft__bin_location.
By default it is set to "/usr/sbin/nft".
2021-08-11 08:50:37 -07:00
Jeremy Gardais
bac335be11
Merge remote-tracking branch 'github/add_molecule'
2021-08-09 17:07:05 +02:00
Paweł Krawczyk
e696d9b482
Restore systemd-fedora-latest image
2021-08-09 10:38:07 +01:00
Paweł Krawczyk
40c632734f
Restore systemd-debian-latest image
2021-08-09 10:32:28 +01:00
Paweł Krawczyk
6a491d63f0
Add separate scenario for Archlinux with custom Dockerfile
2021-08-09 10:05:17 +01:00
Paweł Krawczyk
ad499e949f
Leave systems that work for now
2021-08-08 23:48:08 +01:00
Paweł Krawczyk
a8a41dfc91
Fix syntax
2021-08-08 23:39:52 +01:00
Paweł Krawczyk
0030b9bfcb
Add archlinux platform
2021-08-08 23:37:47 +01:00
Paweł Krawczyk
a75f5bc391
Add volumes to all images
2021-08-08 23:27:47 +01:00
Paweł Krawczyk
32c4ab5215
Because we just can't have init in one place...
2021-08-08 23:19:44 +01:00
Paweł Krawczyk
c8fd17d52b
Add Debian and Fedora
2021-08-08 22:14:36 +01:00
Paweł Krawczyk
7e31500c36
Fix variable name
2021-08-08 22:14:21 +01:00
Paweł Krawczyk
0669fe1623
Test for key files generated by the role
2021-08-08 21:48:02 +01:00
Paweł Krawczyk
a0fd38056a
Adjust test to differences between CentOS and Debian
2021-08-08 21:40:13 +01:00
Paweł Krawczyk
d73b5bbc8f
Debug rules prior to verification
2021-08-08 21:27:18 +01:00
Paweł Krawczyk
73bc1c464b
Fix ansible-lint config location
2021-08-08 21:16:06 +01:00
Paweł Krawczyk
95321f21f9
Mute role-name warnings
2021-08-08 21:01:57 +01:00
Paweł Krawczyk
9940f37baa
Mute lint warnings related to testing
2021-08-08 20:55:56 +01:00
Paweł Krawczyk
5e7b20680b
Fix systemd-ubuntu
2021-08-08 20:47:20 +01:00
Paweł Krawczyk
4eb6a5ae3b
Run ubuntu as privileged
2021-08-08 20:09:42 +01:00
Paweł Krawczyk
be4f52b728
Use jrei/systemd-ubuntu
2021-08-08 19:43:58 +01:00
Paweł Krawczyk
a5aa2c6e4a
Add some actual verification tasks
2021-08-08 19:09:08 +01:00
Paweł Krawczyk
a6f7fde29a
Try centos-systemd
2021-08-08 17:59:44 +01:00
Paweł Krawczyk
8bd7607c09
Typo
2021-08-08 15:52:26 +01:00
Paweł Krawczyk
9fabd5a845
Use Molecule provisioned images
2021-08-08 15:41:28 +01:00
Paweł Krawczyk
9fd12fe790
Skip lint for now
2021-08-07 23:37:58 +01:00
Paweł Krawczyk
3b55e70281
Remove empty lines (yamllint)
2021-08-07 23:35:43 +01:00
Paweł Krawczyk
5416e20904
Fix YAML syntax
2021-08-07 23:30:37 +01:00
Paweł Krawczyk
06fecc68b2
Use robertdebock/molecule-action
2021-08-07 23:29:36 +01:00
Paweł Krawczyk
da74b7d2b1
Add Debian scenario
2021-08-07 22:40:29 +01:00
Paweł Krawczyk
d786479bc1
Try to run with systemd
2021-08-07 14:20:52 +01:00
Paweł Krawczyk
340f4f83e4
Just run on Alpine
2021-08-07 14:15:13 +01:00