This repository was archived by the owner on Dec 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +17
-42
lines changed
roles/ansible-ssh-hardening/templates Expand file tree Collapse file tree 5 files changed +17
-42
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ provisioner:
5
5
name : ansible_playbook
6
6
test_repo_uri : https://github.com/TelekomLabs/tests-ssh-hardening.git
7
7
hosts : all
8
+ require_ansible_repo : false
9
+ require_ansible_omnibus : true
8
10
platforms :
9
11
- name : ubuntu-12.04
10
12
driver_config :
@@ -30,11 +32,23 @@ platforms:
30
32
driver_config :
31
33
box : oracle-6.5
32
34
box_url : https://storage.us2.oraclecloud.com/v1/istoilis-istoilis/vagrant/oel65-64.box
35
+ - name : debian-6
36
+ driver_config :
37
+ box : debian-6
38
+ box_url : https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-6.0.10_chef-provisionerless.box
39
+ - name : debian-7
40
+ driver_config :
41
+ box : debian-7
42
+ box_url : https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-7.8_chef-provisionerless.box
43
+ - name : debian-8
44
+ driver_config :
45
+ box : debian-8
46
+ box_url : https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.1_chef-provisionerless.box
47
+
33
48
suites :
34
49
- name : default
35
50
roles_path : roles
36
51
hosts : all
37
- require_ansible_repo : true
38
52
ansible_verbose : true
39
53
ansible_version : 1.9.2
40
54
provisioner :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -61,12 +61,9 @@ bundle exec thor kitchen:fetch-remote-tests
61
61
# fast test on one machine
62
62
bundle exec kitchen test default-ubuntu-1204
63
63
64
- # test on all machines except Debian-based machines
64
+ # test on all machines
65
65
bundle exec kitchen test
66
66
67
- # test on Debian-based machines
68
- KITCHEN_YAML=" .kitchen_debian.yml" bundle exec kitchen test
69
-
70
67
# for development
71
68
bundle exec kitchen create default-ubuntu-1204
72
69
bundle exec kitchen converge default-ubuntu-1204
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ IgnoreUserKnownHosts yes
134
134
HostbasedAuthentication no
135
135
136
136
# Enable PAM to enforce system wide rules
137
- UsePAM {{ 'yes' if ssh_use_pam else 'no' }}
137
+ UsePAM {{ 'yes' if ssh_use_pam else 'no' }}
138
138
139
139
# Disable password-based authentication, it can allow for potentially easier brute-force attacks.
140
140
PasswordAuthentication no
You can’t perform that action at this time.
0 commit comments