ansible-collection-hardening/molecule
schurzi 5ed3f399f2
add check mode to molecule tests (#644)
* add check mode to molecule tests

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* bail on undefined variables

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* bail on undefined variables

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* execute tasks in check mode

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* fix error in check mode on SuSE

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

* use when condition on task

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>

---------

Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
2023-03-09 09:37:59 +01:00
..
mysql_hardening add check mode to molecule tests (#644) 2023-03-09 09:37:59 +01:00
nginx_hardening add check mode to molecule tests (#644) 2023-03-09 09:37:59 +01:00
os_hardening add check mode to molecule tests (#644) 2023-03-09 09:37:59 +01:00
os_hardening_vm add check mode to molecule tests (#644) 2023-03-09 09:37:59 +01:00
ssh_hardening add check mode to molecule tests (#644) 2023-03-09 09:37:59 +01:00
ssh_hardening_custom_tests add check mode to molecule tests (#644) 2023-03-09 09:37:59 +01:00