{"action":"created","issue":{"url":"https://api.github.com/repos/CSCfi/ansible-role-rally/issues/4","repository_url":"https://api.github.com/repos/CSCfi/ansible-role-rally","labels_url":"https://api.github.com/repos/CSCfi/ansible-role-rally/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/CSCfi/ansible-role-rally/issues/4/comments","events_url":"https://api.github.com/repos/CSCfi/ansible-role-rally/issues/4/events","html_url":"https://github.com/CSCfi/ansible-role-rally/pull/4","id":314146108,"number":4,"title":"Enable testing and set become: True in the become rally user tasks","user":{"login":"martbhell","id":7839019,"avatar_url":"https://avatars2.githubusercontent.com/u/7839019?v=4","gravatar_id":"","url":"https://api.github.com/users/martbhell","html_url":"https://github.com/martbhell","followers_url":"https://api.github.com/users/martbhell/followers","following_url":"https://api.github.com/users/martbhell/following{/other_user}","gists_url":"https://api.github.com/users/martbhell/gists{/gist_id}","starred_url":"https://api.github.com/users/martbhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martbhell/subscriptions","organizations_url":"https://api.github.com/users/martbhell/orgs","repos_url":"https://api.github.com/users/martbhell/repos","events_url":"https://api.github.com/users/martbhell/events{/privacy}","received_events_url":"https://api.github.com/users/martbhell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-13T15:11:32Z","updated_at":"2018-04-17T14:31:05Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/CSCfi/ansible-role-rally/pulls/4","html_url":"https://github.com/CSCfi/ansible-role-rally/pull/4","diff_url":"https://github.com/CSCfi/ansible-role-rally/pull/4.diff","patch_url":"https://github.com/CSCfi/ansible-role-rally/pull/4.patch"},"body":" - enables testing of this role against both Ubuntu and CentOS 7\r\n - normalize yaml format\r\n - install some more dependencies that the install script wanted\r\n - to make the cleanup task also work with ansible 2.5 and CentOS 7 and connection=local we need to set \"become: True\" on the tasks where we do become_user: rally. \r\n - only cleanup if the install script succeeded\r\n - align conditional for setting swift reseller role lineinefile with the one in the ansible defaults/\r\n\r\nError message seen without the become: True was:\r\n\r\n<pre>\r\nTASK [ansible-role-rally : Clean up]\r\n*******************************************\r\nFriday 13 April 2018  11:31:23 +0000 (0:02:33.782)       0:02:50.291\r\n**********\r\nAn exception occurred during task execution. To see the full traceback,\r\nuse -vvv. The error was: AttributeError: 'Connection' object has no\r\nattribute 'supports_persistence'\r\nfatal: [localhost]: FAILED! => {\"msg\": \"Unexpected failure during module\r\nexecution.\", \"stdout\": \"\"}\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/CSCfi/ansible-role-rally/issues/comments/382014035","html_url":"https://github.com/CSCfi/ansible-role-rally/pull/4#issuecomment-382014035","issue_url":"https://api.github.com/repos/CSCfi/ansible-role-rally/issues/4","id":382014035,"user":{"login":"martbhell","id":7839019,"avatar_url":"https://avatars2.githubusercontent.com/u/7839019?v=4","gravatar_id":"","url":"https://api.github.com/users/martbhell","html_url":"https://github.com/martbhell","followers_url":"https://api.github.com/users/martbhell/followers","following_url":"https://api.github.com/users/martbhell/following{/other_user}","gists_url":"https://api.github.com/users/martbhell/gists{/gist_id}","starred_url":"https://api.github.com/users/martbhell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martbhell/subscriptions","organizations_url":"https://api.github.com/users/martbhell/orgs","repos_url":"https://api.github.com/users/martbhell/repos","events_url":"https://api.github.com/users/martbhell/events{/privacy}","received_events_url":"https://api.github.com/users/martbhell/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T14:31:05Z","updated_at":"2018-04-17T14:31:05Z","author_association":"MEMBER","body":"Would you like me to squash this too?"}}
{"actor":{"display_login":"martbhell"}}