{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/13110","labels_url":"https://api.github.com/repos/ansible/ansible/issues/13110/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13110/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/13110/events","html_url":"https://github.com/ansible/ansible/issues/13110","id":116074638,"number":13110,"title":"[v2] TypeError: super(type, obj): obj must be an instance or subtype of type","user":{"login":"mgedmin","id":159967,"avatar_url":"https://avatars.githubusercontent.com/u/159967?v=3","gravatar_id":"","url":"https://api.github.com/users/mgedmin","html_url":"https://github.com/mgedmin","followers_url":"https://api.github.com/users/mgedmin/followers","following_url":"https://api.github.com/users/mgedmin/following{/other_user}","gists_url":"https://api.github.com/users/mgedmin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgedmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgedmin/subscriptions","organizations_url":"https://api.github.com/users/mgedmin/orgs","repos_url":"https://api.github.com/users/mgedmin/repos","events_url":"https://api.github.com/users/mgedmin/events{/privacy}","received_events_url":"https://api.github.com/users/mgedmin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/5","html_url":"https://github.com/ansible/ansible/milestones/v2","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/5/labels","id":975800,"number":5,"title":"v2","description":null,"creator":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":484,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-11-10T13:26:29Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-10T10:04:40Z","updated_at":"2015-11-10T14:22:41Z","closed_at":null,"body":"**Ansible Version**\r\n```\r\nansible 2.0.0 (devel 09994c18f3) last updated 2015/11/10 08:56:11 (GMT +300)\r\n  lib/ansible/modules/core: (detached HEAD fde6ee15d6) last updated 2015/11/10 09:01:29 (GMT +300)\r\n  lib/ansible/modules/extras: (detached HEAD 6cc43bbd56) last updated 2015/11/10 09:01:29 (GMT +300)\r\n```\r\n\r\n**Summary**\r\n\r\nMy Vagrant test playbook failed with this error:\r\n```\r\nTASK [roundup : configure alias_database] **************************************\r\ntask path: /home/mg/src/deployments/provisioning/roles/roundup/tasks/main.yml:62\r\nAn exception occurred during task execution. The full traceback is:\r\nTraceback (most recent call last):\r\n  File \"/home/mg/src/ansible/lib/ansible/executor/process/worker.py\", line 134, in run\r\n    shared_loader_obj,\r\n  File \"/home/mg/src/ansible/lib/ansible/executor/task_executor.py\", line 118, in run\r\n    res = self._execute()\r\n  File \"/home/mg/src/ansible/lib/ansible/executor/task_executor.py\", line 381, in _execute\r\n    result = self._handler.run(task_vars=variables)\r\n  File \"/home/mg/src/ansible/lib/ansible/plugins/action/normal.py\", line 29, in run\r\n    results = super(ActionModule, self).run(tmp, task_vars)\r\nTypeError: super(type, obj): obj must be an instance or subtype of type\r\n\r\nfatal: [trusty]: FAILED! => {\"failed\": true, \"stdout\": \"\"}\r\n```\r\n\r\nThis playbook works with Ansible 1.9.4.\r\n\r\nI'm using a [custom module](https://gist.github.com/mgedmin/5f8ac034df0c371444be):\r\n```\r\n- name: configure alias_database\r\n  postfix: name=alias_database value=\"hash:/etc/aliases, hash:/etc/roundup/aliases\"\r\n  notify: postfix reload\r\n  tags: mail\r\n```\r\nThe module has a custom action plugin, needed to support --diff on Ansible 1.x, but this doesn't do anything on v2 -- just re-imports ActionModule from ansible.plugins.action.normal.\r\n\r\nI'll try to reproduce with a smaller example."},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/155433476","html_url":"https://github.com/ansible/ansible/issues/13110#issuecomment-155433476","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13110","id":155433476,"user":{"login":"mgedmin","id":159967,"avatar_url":"https://avatars.githubusercontent.com/u/159967?v=3","gravatar_id":"","url":"https://api.github.com/users/mgedmin","html_url":"https://github.com/mgedmin","followers_url":"https://api.github.com/users/mgedmin/followers","following_url":"https://api.github.com/users/mgedmin/following{/other_user}","gists_url":"https://api.github.com/users/mgedmin/gists{/gist_id}","starred_url":"https://api.github.com/users/mgedmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgedmin/subscriptions","organizations_url":"https://api.github.com/users/mgedmin/orgs","repos_url":"https://api.github.com/users/mgedmin/repos","events_url":"https://api.github.com/users/mgedmin/events{/privacy}","received_events_url":"https://api.github.com/users/mgedmin/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T14:22:41Z","updated_at":"2015-11-10T14:22:41Z","body":"I've reproduced with a small example: https://github.com/mgedmin/ansible-bug-13110"}}