ansible-collection-hardening/roles/ssh_hardening/tasks
schurzi a75e2c028b
change inclusion of os specific defaults (#353)
* change inclusion of os specific defaults

we now include the os specific options into a separate variable and
merge this with the default ansible namespace, when the corresponding
keys do not already exist (eg. are defined by default oder by user)

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

* simplify check for os specific variables

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

* add test for variable override

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

* move tests to verify stage

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

* correct grep

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

* linting

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

* fix typo

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

* Revert "Merge pull request #351 from sprat/fix-umask"

This reverts commit 9e8e0bc8fb, reversing
changes made to 98c7553016.

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

* move immutable ssh vars to internal vars

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

* move vars to OS files

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

* change default handling for all roles

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

* fix issues

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

* add documentation

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

* Update main.yml

Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
2020-12-20 20:46:57 +01:00
..
ca_keys_and_principals.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00
crypto_ciphers.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00
crypto_hostkeys.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00
crypto_kex.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00
crypto_macs.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00
hardening.yml change inclusion of os specific defaults (#353) 2020-12-20 20:46:57 +01:00
main.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00
selinux.yml merge ssh-hardening role into collection 2020-11-07 21:46:45 +01:00