Commit graph

251 commits

Author SHA1 Message Date
Matt Willsher
68d0577647
Merge pull request #127 from willshersystems/feature/ci-updates
Ubuntu focal, CI updates, code quality improvements
2020-09-18 20:56:14 +01:00
Matt Willsher
78c56e2129 Add pre-commit, fix issues 2020-09-18 20:49:22 +01:00
Matt Willsher
ed989f571c Update CI to Ubuntu focal, add Ubuntu focal support to module 2020-09-18 20:48:56 +01:00
Matt Willsher
a3fe654044
Merge pull request #126 from Jakuje/new-options
Add new options from OpenSSH 8.3p1 (including CASignatureAlgorithms)
2020-09-18 19:02:41 +01:00
Jakub Jelen
b9fb457d2b Add missing configuration options from current OpenSSH 8.3p1 (Fedora 32)
Fixes #125
2020-09-14 18:30:20 +02:00
Jakub Jelen
babfb5542c Remove duplicate GatewayPorts 2020-09-14 18:30:20 +02:00
Matt Willsher
3fb34ad9de
Merge pull request #122 from willshersystems/revert-121-master
Revert "End_host for unsupported hosts"
2020-03-29 14:20:36 +01:00
Matt Willsher
2d0bf44cdc
Revert "End_host for unsupported hosts" 2020-03-29 14:19:41 +01:00
Matt Willsher
eccc5bd596
Merge pull request #120 from oddlama/master
Add Gentoo support (with secure sshd defaults)
2020-03-17 17:35:31 +00:00
Matt Willsher
f67b73c8cf
Merge pull request #121 from Spreadcat/master
End_host for unsupported hosts
2020-03-17 17:35:06 +00:00
Spreadcat
5b04f74614
End_host for unsupported hosts
This change will allow the play to continue without error if unsupported hosts are in the lists of targed host.
The play will continue with the supported hosts end the play for the ones which are not supported.
2020-02-14 12:04:57 +01:00
oddlama
3792fbbebb
Add Gentoo support (with secure defaults) 2020-01-19 17:41:52 +01:00
Matt Willsher
e70dbc3007
Merge pull request #117 from MartinVerges/debian10
add debian 10 (buster) support
2019-11-19 13:54:19 +00:00
Matt Willsher
5a83e45ab3
Merge pull request #97 from dev-zero/suse-fixes
Add vars for openSUSE Leap 15 and CentOS 8
2019-11-19 13:53:15 +00:00
Martin Verges
fb530596cd clean up for ansible-lint 2019-11-06 20:36:36 +01:00
Martin Verges
1cbfc4e272 on debian10 securely configure SSH by default
verified configuration with 'ssh-audit'
removed controversial keys
removed insecure macs,keys,ciphers

tested on Debian 10 Buster
2019-10-24 13:44:43 +02:00
Martin Verges
59314077b9 add debian 10 (buster) support 2019-10-23 15:52:21 +02:00
Tiziano Müller
90b19f3b7c vars: add config for RedHat/CentOS 8
besides dropping the deprecated Sandbox option, set
`GSSAPICleanupCredentials no` since that's what I have on a fresh
installation of CentOS 8.
2019-10-14 14:48:06 +02:00
Tiziano Müller
6be10a2d17 vars: add config for openSUSE Leap 15 2019-10-14 14:45:08 +02:00
Matt Willsher
454bcb828f
Merge pull request #113 from willshersystems/feature/duplicate-gatewayports
Remove duplicate GatewayPorts
2019-07-10 19:47:27 +01:00
Matt Willsher
3c32998957 Remove duplicate GatewayPorts 2019-07-10 19:41:32 +01:00
Matt Willsher
a9354934ee
Merge pull request #112 from d-little/aix-support
AIX support (including new AIX handler)
2019-07-10 19:35:34 +01:00
Matt Willsher
003480d7b6
Merge pull request #92 from nkakouros-forks/syntax
Updates syntax to Ansible 2.7 era
2019-07-10 19:32:29 +01:00
David Little
553344e9b6 Update galaxy meta 2019-07-10 13:31:25 -05:00
David Little
b5585b81f3 Newline at EOF 2019-07-10 13:05:19 -05:00
David Little
53a89b677e AIX support for role (including new AIX handler) 2019-07-10 12:07:07 -05:00
Nikolaos Kakouros
b81977c659 Merge branch 'master' into syntax 2019-06-04 11:48:02 +02:00
Matt Willsher
a6652594ba
Merge pull request #110 from willshersystems/travis_fixes
Travis fixes
2019-05-23 20:42:56 +01:00
Matt Willsher
3f7db475ce Add bool to handler 2019-05-23 20:38:31 +01:00
Matt Willsher
7b5e905a20 Use become not sudo 2019-05-23 20:34:28 +01:00
Matt Willsher
a141241d1a
Merge pull request #109 from yurihs/master
Resolve lint errors
2019-05-23 20:28:35 +01:00
yurihs
efc868edc2 Ignore ansible-lint E303, usage of systemctl command is unavoidable 2019-05-23 14:50:24 -03:00
yurihs
53218db597 Use bool filter instead of bare variables or comparison to literal True (ansible-lint E601, ansible/ansible#51030) 2019-05-23 14:50:24 -03:00
yurihs
775264a8b8 Make tags lowercase (ansible-lint E702) 2019-05-23 14:32:21 -03:00
yurihs
43d65fb63a Add names to all tasks (ansible-lint E502) 2019-05-23 14:31:30 -03:00
Matt Willsher
7f6344b508
Merge pull request #106 from BenGig/master
Backup of sshd_config dependent on variable
2019-04-29 17:51:18 +01:00
Matt Willsher
95964bda34
Merge pull request #107 from kpfleming/patch-1
Remove 'UsePrivilegeSeparation' from Fedora defaults
2019-04-29 17:50:42 +01:00
Kevin P. Fleming
e000716443
Remove 'UsePrivilegeSeparation' from Fedora defaults
This option has been deprecated in OpenSSH for nearly two years, was the default for five years before that, and is not part of the current Fedora default configuration. It should not be included in sshd_config on Fedora systems.
2019-04-28 21:12:06 -04:00
BenGig
7a84821b8f
Backup of sshd_config dependent on variable
Propagates setting sshd_backup to template installation task
2019-03-22 11:51:39 +01:00
Matt Willsher
a84bc84c22
Merge pull request #104 from pillarsdotnet/fix-vars
Fix variable loading.
2019-03-03 09:31:07 +00:00
Robert A Vincent II
4a0f7d935a Specify search path for os vars; support odd-numbered Ubuntu releases. 2019-02-25 16:10:34 -05:00
Matt Willsher
81bd585e8f
Merge pull request #103 from mfredholm/patch-1: Ubuntu 18 defaults
Remove deprecated options for Ubuntu 18
2019-02-20 21:17:24 +00:00
mfredholm
a3ca915dbd
Update Ubuntu_18.yml
Minimal vars using defaults.
2019-01-31 10:33:01 +01:00
mfredholm
03172b3c07
Remove deprecated options 2019-01-28 13:30:19 +01:00
Matt Willsher
6f43191418
Merge pull request #95 from AaltoScienceIT/chroot
Make role work with chroot connections on EL 7.
2018-09-22 19:14:28 +01:00
Janne Blomqvist
d438f096a7 Make role work with chroot connections on EL 7.
For chroot connection (e.g. when building images instead of working on
live hosts) one cannot restart services etc.

Also due to Ansible bug 21026 one must run systemctl instead of using
the service module, limiting support to EL 7 for the time being.
2018-09-11 16:10:58 +03:00
Matt Willsher
5d6262a474
Merge pull request #93 from tterranigma/service_fix
Fixes bad option in systemd service file
2018-09-11 07:08:57 +01:00
Nikolaos Kakouros
d3d04cfdd7 Fixes bad option in systemd service file 2018-09-11 00:21:01 +02:00
Matt Willsher
96992e1a5d
Merge pull request #91 from tterranigma/onoff
Adds on/off toggle
2018-09-08 09:49:33 +01:00
Nikolaos Kakouros
da2c91d93a Adds forgotten conditional 2018-09-08 10:46:57 +02:00