This repository was archived by the owner on Dec 26, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Expand file tree Collapse file tree 2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,19 @@ platforms:
4949verifier :
5050 name : inspec
5151suites :
52- - name : default
52+ - name : ansible_1.9
5353 hosts : all
5454 ansible_verbose : true
55- ansible_version : 1.9.2
5655 ansible_diff : true
5756 roles_path : ../ansible-ssh-hardening/
5857 provisioner :
5958 playbook : test/integration/playbooks/default.yml
59+ ansible_version : 1.9.4
60+ - name : ansible_latest
61+ hosts : all
62+ ansible_verbose : true
63+ ansible_diff : true
64+ roles_path : ../ansible-ssh-hardening/
65+ provisioner :
66+ playbook : test/integration/playbooks/default.yml
67+
Original file line number Diff line number Diff line change @@ -3,13 +3,19 @@ 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
18+
1319script :
1420 - ansible-playbook --syntax-check spec/travis.yml
1521 - ansible-playbook --sudo -v --diff spec/travis.yml
You can’t perform that action at this time.
0 commit comments