Thought I would post this here before raising an issue on GitHub:

This line in a role produced the error below:

github_hooks: action=create hookurl=http://{{ inventory_hostname }}:88 
user={{ github_user }} oauthkey={{ github_oauth }} 
repo=https://github.com/{{ yii_admin_repo }}

The role *was* being executed with a sudo_user: value.  All variables were 
checked using debug statements to make sure they had valid values.

fatal: [54.185.9.246] => failed to parse: 
SUDO-SUCCESS-astpyzjqbrfryzxrhuotxhrfdzgldycj
Traceback (most recent call last):
  File "/tmp/ansible-tmp-1394648274.06-177805719541157/github_hooks", line 
1241, in <module>
    main()
  File "/tmp/ansible-tmp-1394648274.06-177805719541157/github_hooks", line 
161, in main
    (rc, out) = create(hookurl, oauthkey, repo, user)
TypeError: 'NoneType' object is not iterable


FATAL: all hosts have already failed -- aborting

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3b0442bf-3dc4-4d72-982b-e4a62984e6dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to