community.general/lib/ansible
jkleint b50c50748e _chain_file_module() calls .get() on error string
runner._return_from_module() normally returns a list (?) of `[str,bool,dict,str]`, but on error it returns `[str,bool,str,str]`.  runner._chain_file_module() then tries to call .get() on the third item (`data2`), which fails when it's a string.  This patch only accesses `data2` if the return value was `ok`.  It might be better to return consistent types in both cases, but I'm not sure where/how else the return value is used.
2012-04-24 17:21:01 -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 Merge branch 'custom-facts' of https://github.com/jhoekx/ansible into jhoekx-custom-facts 2012-04-23 21:24:52 -04: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