Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible 2.0 support #59

Merged
merged 4 commits into from
Mar 6, 2016
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 9 additions & 2 deletions .kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,17 @@ platforms:
verifier:
name: inspec
suites:
- name: default
- name: ansible_1.9
hosts: all
ansible_verbose: true
ansible_diff: true
roles_path: ../ansible-os-hardening/
provisioner:
playbook: test/integration/playbooks/default.yml
ansible_version: 1.9.4
- name: ansible_latest
hosts: all
ansible_verbose: true
ansible_version: 1.9.2
ansible_diff: true
roles_path: ../ansible-os-hardening/
provisioner:
Expand Down
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
language: python
python: "2.7"

env:
- ANSIBLE_VERSION=latest
- ANSIBLE_VERSION=1.9.4

before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-apt python-pycurl
install:
- pip install ansible
- if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
- echo -e 'localhost ansible_connection=local' > spec/inventory
- echo -e '[defaults]\nroles_path = ../\nhostfile = ./spec/inventory' > ansible.cfg

Expand Down
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
galaxy_info:
author: "Sebastian Gumprich"
description: ' This Ansible playbook provides numerous security-related configurations, providing all-round base protection.'
description: 'This Ansible playbook provides numerous security-related configurations, providing all-round base protection.'
company: Hardening Framework Team
license: Apache License 2.0
min_ansible_version: '1.9'
Expand Down