Skip to content

Instantly share code, notes, and snippets.

@mheap
Created March 9, 2016 21:09
Show Gist options
  • Save mheap/7e80b2227c6ebb94e8ea to your computer and use it in GitHub Desktop.
Save mheap/7e80b2227c6ebb94e8ea to your computer and use it in GitHub Desktop.
Using Ansible 2.0.1, can you pass variables when adding a role dependency?
- debug: msg="Hello {{name}}"
dependencies:
- role: role1
name: World
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment