Merge pull request #1903 from leucos/mergeable-hash-vars

Adds user-selectable hash merging support in vars
This commit is contained in:
Daniel Hokka Zakrisson
2013-01-25 08:29:05 -08:00
4 changed files with 43 additions and 3 deletions

View File

@@ -76,6 +76,16 @@ remote_port=22
sudo_exe=sudo
# how to handle hash defined in several places
# hash can be merged, or replaced
# if you use replace, and have multiple hashes named 'x', the last defined
# will override the previously defined one
# if you use merge here, hash will cumulate their keys, but keys will still
# override each other
# replace is the default value, and is how ansible always handled hash variables
#
# hash_behaviour=replace
# if set, always use this private key file for authentication, same as if passing
# --private-key to ansible or ansible-playbook