Created
October 29, 2013 15:47
-
-
Save danrough/7217218 to your computer and use it in GitHub Desktop.
Using parameterised includes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# (Ansible version 1.4) | |
# | |
# ERROR: Syntax Error while loading YAML script, /Users/danrough/Documents/Development/OpsScripts/ansible/base-build/roles/common/tasks/main.yml | |
# Note: The error may actually appear before this position: line 14, column 3 | |
# | |
# - { include: user.yml, user: {{ users.username }}, sudo: {{ users.isSudo }} } | |
# with_items: users | |
# ^ | |
- { include: user.yml, user: {{ users.username }}, sudo: {{ users.isSudo }} } | |
with_items: users |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment