File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,17 @@ platforms:
4949verifier :
5050 name : inspec
5151suites :
52- - name : default
52+ - name : ansible_1.9
53+ hosts : all
54+ ansible_verbose : true
55+ ansible_diff : true
56+ roles_path : ../ansible-os-hardening/
57+ provisioner :
58+ playbook : test/integration/playbooks/default.yml
59+ ansible_version : 1.9.4
60+ - name : ansible_latest
5361 hosts : all
5462 ansible_verbose : true
55- ansible_version : 1.9.2
5663 ansible_diff : true
5764 roles_path : ../ansible-os-hardening/
5865 provisioner :
Original file line number Diff line number Diff line change @@ -3,11 +3,16 @@ notifications:
33 webhooks : https://galaxy.ansible.com/api/v1/notifications/
44language : python
55python : " 2.7"
6+
7+ env :
8+ - ANSIBLE_VERSION=latest
9+ - ANSIBLE_VERSION=1.9.4
10+
611before_install :
712 - sudo apt-get update -qq
813 - sudo apt-get install -qq python-apt python-pycurl
914install :
10- - pip install ansible
15+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install ansible==$ANSIBLE_VERSION; fi
1116 - echo -e 'localhost ansible_connection=local' > spec/inventory
1217 - echo -e '[defaults]\nroles_path = ../\nhostfile = ./spec/inventory' > ansible.cfg
1318
Original file line number Diff line number Diff line change 11---
22galaxy_info :
33 author : " Sebastian Gumprich"
4- description : ' This Ansible playbook provides numerous security-related configurations, providing all-round base protection.'
4+ description : ' This Ansible playbook provides numerous security-related configurations, providing all-round base protection.'
55 company : Hardening Framework Team
66 license : Apache License 2.0
77 min_ansible_version : ' 1.9'
You can’t perform that action at this time.
0 commit comments