Commit graph

272 commits

Author SHA1 Message Date
Matt Willsher
a4df6a5385 Use become to change user 2016-01-24 15:57:12 +00:00
Matt Willsher
6e4931fa9d Add testing via Vagrant
Still needs a bit of work to make OS switching a little more seamless
2016-01-24 15:52:13 +00:00
Matt Willsher
c42662efa9 Use @luto solution
Simple and just works!
2016-01-24 15:49:54 +00:00
Matt Willsher
2117ef23e1 Add first pass Vagrantfile
Order of execution is screwy. Fixme :D
2016-01-24 12:39:47 +00:00
Matt Willsher
03ce63e664 Conditionally set value = undefined to avoid trigger lvalue issue on CentOS 6 2016-01-24 12:37:58 +00:00
Matt Willsher
3c6c605886 apt role is no longer needed 2016-01-24 11:52:39 +00:00
Matt Willsher
90992da436 Check that value is defined before calling render macro 2016-01-24 10:33:24 +00:00
Matt Willsher
e48ffc4e28 Merge pull request #33 from willshersystems/example_fix
Update example so not to break old SSH versions and add a warning
2016-01-12 16:11:57 +00:00
Matt Willsher
e5e3eb04f9 Update example so not to break old SSH versions and add a warning 2016-01-12 15:57:30 +00:00
Matt Willsher
1915996016 Update galaxy link 2016-01-11 15:43:25 +00:00
Matt Willsher
57f58202ac Merge pull request #31 from martinstefany/master
Fedora HostKey(s)
2016-01-11 15:34:48 +00:00
Martin Stefany
7b2a86117b Update README.md 2016-01-10 14:29:24 +01:00
Martin Stefany
97124cf594 Update meta/main.yml
Remove Fedora 20 from platforms and add Fedora 23.
2016-01-09 22:39:29 +01:00
Martin Stefany
ee74b9611f Remove Fedora_22.yml
Remove Fedora_22.yml since it matches 'default' Fedora.yml list of HostKeys.
2016-01-09 16:28:51 +01:00
Martin Stefany
32de8c803a Add ed25519 key to default Fedora.yml
Currently only supported Fedora distributions are 22 and 23, and they both ship openssh 7.1p1 which supports all 'rsa', 'ecdsa' and 'ed25519' keys, turn them on by default.
2016-01-09 16:27:35 +01:00
Matt Willsher
b3df4fae54 move to personal galaxy account 2015-08-25 18:41:22 +01:00
Matt Willsher
20c07b3178 Add ed25519 support for EL7
ed25519 support was added in RH7.1
2015-08-25 17:58:17 +01:00
Matt Willsher
10a5a155f7 Merge pull request #28 from kostyrevaa/master
Do not manage /var/run/sshd on CentOS7 fixes #27
2015-08-13 03:33:02 +01:00
Aleksandr Kostyrev
7daa715bde Fix sshd_manage_var_run check 2015-08-12 23:29:51 +03:00
Aleksandr Kostyrev
445261a297 Do not manage /var/run/sshd on CentOS7 fixes #27 2015-08-12 18:41:46 +03:00
Matt Willsher
b6b34e83fe Merge pull request #26 from willshersystems/debianbanner
DebianBanner support
2015-07-23 18:34:17 +01:00
Matt Willsher
125f8ae4f1 Add DebianBanner option 2015-07-23 18:30:03 +01:00
Matt Willsher
8dada7e6a6 Fix HostbasedAuthentication typo 2015-07-23 18:24:12 +01:00
Matt Willsher
3810a2c326 Remove apt dependency from documentation 2015-06-29 13:36:39 +01:00
Matt Willsher
c6c6ca1127 Merge pull request #24 from willshersystems/reload_regression
Add note about the scripts and files in meta/
2015-06-28 10:30:35 +01:00
Matt Willsher
a8b0e3c0e5 Add note about the scripts and files in meta/ 2015-06-28 10:29:16 +01:00
Matt Willsher
d5054e5feb Merge pull request #23 from willshersystems/reload_regression
Fix issues raised in #22
2015-06-28 10:20:57 +01:00
Matt Willsher
812a1e1267 Fix issues raised in #22 2015-06-28 10:18:45 +01:00
Matt Willsher
c7cf019326 Merge pull request #21 from jitakirin/verify-early
Verify SSHd config early
2015-06-28 09:34:03 +01:00
Matt Willsher
8f4aac2a37 Merge pull request #20 from jitakirin/fedora-support
Add Fedora support
2015-06-28 09:33:09 +01:00
Matt Willsher
d65ce03567 Merge pull request #18 from kostyrevaa/master
fix type in AcceptEnv for RedHat7
2015-06-28 09:32:46 +01:00
jitakirin
d0b2b029a1 Verify SSHd config early
This uses the validate option to check the config file early, which
avoids putting bad settings in place at all, and also enables a
fail-fast behaviour (errors out when processing the template module).
2015-06-26 11:38:09 +01:00
jitakirin
e6d8ba264c Add Fedora support
Based on RedHat 7 with few modifications (ed25519 hostkey for F22,
GSSAPICleanupCredentials defaults to no, s/LC_TYPE/LC_CTYPE/ in
AcceptEnv).

Tested on Fedora 20 & 22.
2015-06-26 10:23:42 +01:00
Kostyrev Aleksandr
0e86168b3c fix type in AcceptEnv for RedHat7 2015-06-25 23:22:39 +03:00
Matt Willsher
4a5678f93e Merge pull request #16 from jitakirin/container-friendly
Make the role more container friendly
2015-06-25 19:30:26 +01:00
Matt Willsher
ff10b6b26d Merge pull request #17 from kostyrevaa/master
fix type in AcceptEnv
2015-06-25 19:24:18 +01:00
Костырев Александр
70c45f0d6f fix type in AcceptEnv
default  AcceptEnv in RedHat includes LC_CTYPE but not LC_TYPE
2015-06-25 18:49:20 +03:00
jitakirin
951df8c65b Ensure run directory exists
This is usually also done in service scripts during startup but those
aren't always used in containers.  Doesn't hurt ensuring it here.
2015-06-25 15:13:10 +01:00
jitakirin
bcd864fea4 Add sshd_manage_service option
Allows disabling management of SSHd service completely, which is handy
when used in a container (where ansible is usually used during build
phase).
2015-06-25 14:54:24 +01:00
Matt Willsher
89d44d947f Merge pull request #14 from bensallen/master
Remove apt role dependancy - wider packaging issues should be top level not in this role.
2015-05-20 19:23:48 +01:00
Ben Allen
5b34aa85a4 Remove apt role dependancy as it appears Ansible still requires the role to be installed, even if its not used at runtime 2015-05-18 18:51:28 +00:00
Matt Willsher
6c4a2d6dc8 Merge branch 'release/0.2.5' 2015-01-23 10:45:03 +00:00
Matt Willsher
859b988da1 Release 0.2.5 changes 2015-01-23 10:44:54 +00:00
Matt Willsher
a2116fe211 Merge branch 'master' into develop 2015-01-23 10:44:46 +00:00
Matt Willsher
2af5d1dab6 Merge pull request #13 from ricbra/fix_debian_packages
Don't install openssh-sftp-server on Debian
2015-01-23 10:29:51 +00:00
Richard van den Brand
5c276ff7a1 Don't install openssh-sftp-server because this removes openssh-server package on Debian 2015-01-23 11:24:14 +01:00
Matt Willsher
f2648cc295 Add defaults.yml back in to stop failure on var import 2015-01-15 10:26:40 +00:00
Matt Willsher
9b2beed513 Speed up Travis 2015-01-15 10:06:52 +00:00
Matt Willsher
f1c159854d only run apt role if it has not already run 2015-01-14 19:44:31 +00:00
Matt Willsher
a9c307a3d6 Register fact when this role has run 2015-01-14 19:44:17 +00:00