Commit graph

378 commits

Author SHA1 Message Date
Jakub Jelen
e5ad657038 Test alternative configuration file creation 2020-09-23 14:35:09 +02:00
Jakub Jelen
faef930c9a .travis.yml: Use more appropriate language tag 2020-09-23 14:35:09 +02:00
Jakub Jelen
cdb7fd621c .travis.yml: The sudo has no effect in travis anymore 2020-09-23 14:35:09 +02:00
Jakub Jelen
2744b2e225 Document and test alternative invocation of role through include_role 2020-09-23 14:35:09 +02:00
Jakub Jelen
1266519c23 Add test case for uncommon configuration options 2020-09-23 14:35:09 +02:00
Jakub Jelen
e2bc8f14e5 Test setting common configuration options 2020-09-23 14:35:09 +02:00
Jakub Jelen
9b3e83b853 Move the basic test to test_default 2020-09-23 14:16:24 +02:00
Matt Willsher
fb231decf2
Merge pull request #132 from noonedeadpunk/ansible_distribution_version
Use ansible_distribution_major_version in variables
2020-09-23 07:27:50 +01:00
Dmitriy Rabotyagov
065812b345 Use ansible_distribution_major_version in variables
In order to collect variables, it's worth using
ansible_distribution_major_version as ansible_distribution_version
changes behaviour between ansible releases, ie [1]

This causes CentOS jobs fail with 2.8.13, as
ansible_distribution_version there is '7.8' [2]

[1] https://github.com/ansible/ansible/issues/57463
[2] https://zuul.opendev.org/t/openstack/build/e5ae88e08ac546ccb0e7ab99f8f0a051/log/zuul-info/host-info.centos-7.yaml#141
2020-09-21 18:11:28 +03:00
Matt Willsher
6e9c4c1811
Merge pull request #130 from willshersystems/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2020-09-18 22:17:43 +01:00
Matt Willsher
740da51385
Create CODE_OF_CONDUCT.md 2020-09-18 22:15:19 +01:00
Matt Willsher
9e79cc3802
Merge pull request #115 from thalunil/master
OpenBSD and ansible_distribution_major_version
2020-09-18 21:58:11 +01:00
Matt Willsher
8815689d72
Merge branch 'master' into master 2020-09-18 21:53:45 +01:00
Matt Willsher
2f83fe5428
Merge pull request #129 from willshersystems/ansible-2.8
Minimum version is now Ansible 2.8
2020-09-18 21:53:24 +01:00
Matt Willsher
4a2dc9a381
Merge branch 'master' into master 2020-09-18 21:42:16 +01:00
Matt Willsher
2ebe1c6917
Update install.yml 2020-09-18 21:37:55 +01:00
Matt Willsher
d84bc14fdd
Remove test for Ansible 2.7
Ansible 2.7 is no longer maintained and ansible-lint requires >=2.8
2020-09-18 21:35:10 +01:00
Matt Willsher
5fe1801c7e
Merge pull request #124 from ahmadalli/master
exit_host on ansible >= 2.8
2020-09-18 21:31:24 +01:00
Matt Willsher
31ee885d57
Merge branch 'master' into master 2020-09-18 21:28:57 +01:00
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
ahmadali shafiee
02c04f3052 test on ansible 2.7 to 2.10 2020-04-04 07:41:01 +00:00
ahmadali shafiee
6515f182fe cleaning 2020-03-29 13:56:24 +00:00
ahmadali shafiee
a3bac673f0 use end_host for ansible >= 2.8 2020-03-29 13:51:27 +00:00
ahmadali shafiee
a6e30dec3b add lint option 2020-03-29 13:44:28 +00: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
Alexander Christoph Bihlmaier
643b3c1dbd Merge branch 'master' of https://github.com/willshersystems/ansible-sshd 2019-12-21 09:56:56 +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
Alexander Christoph Bihlmaier
cca93d5c6d variable ansible_distribution_major_version is not present on OpenBSD
and throws an error because it can't resolve it
2019-10-18 18:06:04 +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
Alexander Christoph Bihlmaier
63095094fc extending yaml file lookup with "ansible_distribution_version" 2019-10-03 15:07:16 +02:00
thalunil
9fedd23cf0 * OpenBSD 6.5 no longer provides ansible fact "ansible_distribution_major_version" therefore it it set to "ansible_distribution_version".
* ansible fact ansible_distribution_lts_version only makes sense on Ubuntu so set it only on Ubuntu -> otherwise "ansible_distribution_version"
2019-09-30 19:57:15 +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