Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Commit

Permalink
adding dependencies to ansible role
Browse files Browse the repository at this point in the history
  • Loading branch information
extremelylongusername committed Nov 1, 2015
1 parent f66a655 commit a14f563
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -16,6 +16,9 @@ install:
# configure ansible
- "{ echo '[defaults]'; echo 'roles_path = ../'; } >> ansible.cfg"

# install dependencies from meta/main.yml
- "read dependencies < <(cat meta/main.yml | grep 'role:' | awk '{print $3}' | tr '\n' ' '); ansible-galaxy install $dependencies"

script:
# check syntax
- "ansible-playbook -i tests/inventory tests/$PLAYBOOK --syntax-check"
Expand Down
3 changes: 3 additions & 0 deletions tests/test.yml
Expand Up @@ -2,6 +2,9 @@
- hosts: localhost
remote_user: root
roles:
- role: telusdigital.ruby
ruby_gems:
- veracodecli
- role: ansible-veracode-scanner
veracode_scanner_api_username: "None"
veracode_scanner_api_password: "None"
Expand Down

0 comments on commit a14f563

Please sign in to comment.