{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/239","repository_url":"https://api.github.com/repos/openmicroscopy/infrastructure","labels_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/239/comments","events_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/239/events","html_url":"https://github.com/openmicroscopy/infrastructure/pull/239","id":199211674,"number":239,"title":"Use external Ansible roles (round 1+2+IDR+devel)","user":{"login":"manics","id":1644105,"avatar_url":"https://avatars.githubusercontent.com/u/1644105?v=3","gravatar_id":"","url":"https://api.github.com/users/manics","html_url":"https://github.com/manics","followers_url":"https://api.github.com/users/manics/followers","following_url":"https://api.github.com/users/manics/following{/other_user}","gists_url":"https://api.github.com/users/manics/gists{/gist_id}","starred_url":"https://api.github.com/users/manics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manics/subscriptions","organizations_url":"https://api.github.com/users/manics/orgs","repos_url":"https://api.github.com/users/manics/repos","events_url":"https://api.github.com/users/manics/events{/privacy}","received_events_url":"https://api.github.com/users/manics/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-06T14:52:50Z","updated_at":"2017-01-14T22:12:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/infrastructure/pulls/239","html_url":"https://github.com/openmicroscopy/infrastructure/pull/239","diff_url":"https://github.com/openmicroscopy/infrastructure/pull/239.diff","patch_url":"https://github.com/openmicroscopy/infrastructure/pull/239.patch"},"body":"Replaces `roles/*` and `roles-dev/*` with decoupled galaxy or `ansible-role-*` repository where possible. See `requirements.yml`\r\n\r\nAlso includes a fix for `.travis` to ensure it fails if `ansible-galaxy` has an error (always seems to exit 0).\r\n\r\n## Testing\r\n\r\n    git clone https://github.com/openmicroscopy/infrastructure tmp\r\n    cd tmp/ansible/\r\n\r\nFetch `requirements.yml` from this PR\r\n\r\n    curl https://raw.githubusercontent.com/manics/infrastructure/external-roles/ansible/requirements.yml > requirements.yml\r\n\r\nDelete all roles which are in `requirements.yml`\r\n\r\n    for d in $(grep name: requirements.yml | awk '{print $3}'); do rm -rf roles/$d roles-dev/$d; done\r\n\r\nInstall roles into `vendor/`, then move devel roles into `roles-dev` and the rest to `roles/`, \r\n\r\n    ansible-galaxy install -r requirements.yml\r\n    mv vendor/{hosts-populate,omero-user,reboot-server} roles-dev/\r\n    mv vendor/* roles/\r\n\r\nCheck for differences\r\n\r\n    git status\r\n    git diff\r\n\r\nExpected significant differences:\r\n- `java`: https://github.com/openmicroscopy/ansible-role-java/pull/1\r\n- `omero-server`: https://github.com/openmicroscopy/ansible-role-omero-server/commit/72a13151beb626b6b6672c8899da451af1dd51de\r\n\r\nIn addition this is probably one of the few PRs that should be tested with all vagrant machines."},"comment":{"url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/comments/272657014","html_url":"https://github.com/openmicroscopy/infrastructure/pull/239#issuecomment-272657014","issue_url":"https://api.github.com/repos/openmicroscopy/infrastructure/issues/239","id":272657014,"user":{"login":"joshmoore","id":88113,"avatar_url":"https://avatars.githubusercontent.com/u/88113?v=3","gravatar_id":"","url":"https://api.github.com/users/joshmoore","html_url":"https://github.com/joshmoore","followers_url":"https://api.github.com/users/joshmoore/followers","following_url":"https://api.github.com/users/joshmoore/following{/other_user}","gists_url":"https://api.github.com/users/joshmoore/gists{/gist_id}","starred_url":"https://api.github.com/users/joshmoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshmoore/subscriptions","organizations_url":"https://api.github.com/users/joshmoore/orgs","repos_url":"https://api.github.com/users/joshmoore/repos","events_url":"https://api.github.com/users/joshmoore/events{/privacy}","received_events_url":"https://api.github.com/users/joshmoore/received_events","type":"User","site_admin":false},"created_at":"2017-01-14T22:12:14Z","updated_at":"2017-01-14T22:12:14Z","body":"Performed the `git status` testing: looks good. Haven't (yet) performed the mega-vagrant test."}}
{"actor":{"display_login":"joshmoore"}}