Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

New dir layout. Fix #43 #44

Merged
merged 3 commits into from
Nov 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .kitchen.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
driver:
name: vagrant
transport:
name: rsync
provisioner:
name: ansible_playbook
test_repo_uri: https://github.com/TelekomLabs/tests-ssh-hardening.git
Expand Down Expand Up @@ -44,12 +46,14 @@ platforms:
driver_config:
box: debian-8
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_debian-8.1_chef-provisionerless.box

verifier:
ruby_bindir: '/usr/bin'
suites:
- name: default
roles_path: roles
hosts: all
ansible_verbose: true
ansible_version: 1.9.2
ansible_diff: true
roles_path: ../ansible-ssh-hardening/
provisioner:
playbook: test/integration/playbooks/default.yml
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ before_install:
- sudo apt-get install -qq python-apt python-pycurl
install:
- pip install ansible
- echo -e 'localhost ansible_connection=local' > spec/inventory
- echo -e '[defaults]\nroles_path = ./roles\nhostfile = ./spec/inventory' > ansible.cfg
- echo -e 'localhost ansible_connection=local' > spec/inventory
- echo -e '[defaults]\nroles_path = ../\nhostfile = ./spec/inventory' > ansible.cfg
script:
- ansible-playbook --syntax-check spec/travis.yml
- ansible-playbook --sudo -v --diff spec/travis.yml
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ group :integration do
gem 'kitchen-ansible'
gem 'kitchen-vagrant'
gem 'kitchen-sharedtests', '~> 0.2.0'
gem 'kitchen-sync'
gem 'kitchen-transport-rsync'
end

group :openstack do
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This role provides secure ssh-client and ssh-server configurations.

- hosts: localhost
roles:
- ansible-ssh-hardening
- hardening.ssh-hardening

## Local Testing

Expand Down
File renamed without changes.