community.general/lib/ansible
jkleint 4e1bc43645 Support YAML lists of hosts in playbooks.
Reading the docs, I was a bit confused as to how to specify multiple hosts/groups in a playbook.  Being YAML, I assumed a normal YAML list would work:

    ---
    - hosts: [host1, host2]

But this crashes when inventory._matches() assumes hosts is a string.  This patch just checks if hosts is a list, and turns it into a string joined by ';'.
2012-04-24 17:54:00 -03:00
..
__init__.py Version bump for integration branch (soon to be renamed 'devel'), didn't update package 2012-04-23 21:14:48 -04:00
callbacks.py Merge branch 'integration' 2012-04-23 21:05:06 -04:00
connection.py Expand user in SSH identity file. 2012-04-24 15:56:46 +02:00
constants.py Add support for specifying sudo passwords to both ansible & playbook. Nopasswd sudo is no longer required. 2012-04-13 19:06:11 -04:00
errors.py Update example to use correct service state; minor pep8 indent/spacing fixes 2012-03-15 23:10:03 -04:00
inventory.py handle issues when the hostlist is inadvertently set executable 2012-04-24 11:03:14 -04:00
playbook.py Support YAML lists of hosts in playbooks. 2012-04-24 17:54:00 -03:00
runner.py _chain_file_module() calls .get() on error string 2012-04-24 17:21:01 -03:00
utils.py Merge branch 'integration' 2012-04-23 21:05:06 -04:00