Bug in github_hooks?

26 views
Skip to first unread message

Mike Titus

unread,
Mar 12, 2014, 2:22:24 PM3/12/14
to ansible...@googlegroups.com
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

Michael DeHaan

unread,
Mar 12, 2014, 2:23:59 PM3/12/14
to ansible...@googlegroups.com
Yeah, that's not good :)

Can you file a bug at github.com/ansible/ansible?

We're not using this one ourselves, so if you'd like to take a crack at fixing it, that would also be welcome and probably expedite things a bit more!




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
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 all
Reply to author
Forward
0 new messages