{"action":"created","issue":{"url":"https://api.github.com/repos/danehans/contrib/issues/1","repository_url":"https://api.github.com/repos/danehans/contrib","labels_url":"https://api.github.com/repos/danehans/contrib/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/danehans/contrib/issues/1/comments","events_url":"https://api.github.com/repos/danehans/contrib/issues/1/events","html_url":"https://github.com/danehans/contrib/pull/1","id":140793187,"number":1,"title":"Ansible python bootstrap","user":{"login":"adamschaub","id":1927883,"avatar_url":"https://avatars.githubusercontent.com/u/1927883?v=3","gravatar_id":"","url":"https://api.github.com/users/adamschaub","html_url":"https://github.com/adamschaub","followers_url":"https://api.github.com/users/adamschaub/followers","following_url":"https://api.github.com/users/adamschaub/following{/other_user}","gists_url":"https://api.github.com/users/adamschaub/gists{/gist_id}","starred_url":"https://api.github.com/users/adamschaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamschaub/subscriptions","organizations_url":"https://api.github.com/users/adamschaub/orgs","repos_url":"https://api.github.com/users/adamschaub/repos","events_url":"https://api.github.com/users/adamschaub/events{/privacy}","received_events_url":"https://api.github.com/users/adamschaub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T20:46:47Z","updated_at":"2016-03-15T15:24:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/danehans/contrib/pulls/1","html_url":"https://github.com/danehans/contrib/pull/1","diff_url":"https://github.com/danehans/contrib/pull/1.diff","patch_url":"https://github.com/danehans/contrib/pull/1.patch"},"body":"1. Refactor bootstrap- Bootstrap.sh is used to get a python interpreter on coreos. I would like to move this to ansible code. Since ansible is severely limited w/o python, you need to use the ansible raw module that essentially delivers shell commands over SSH to the host. Converting the script to a series of RAW tasks is still better than using a script. Just make sure you implement equivalent or better functionality.\r\n\r\nAddressed by da393a7\r\n\r\n2. Migrate [2] from the cloud-config yml to ansible bootstrap. Bin’s are stored in this directory for CoreOS b/c /usr/bin, /usr/local/bin, etc.. are read-only in CoreOS. I implemented the directory creation a while ago in the cloud-config yml as a quick fix. We want to move this to the pre-ansible role for CoreOS. Simple task to get you started.\r\n\r\nAddressed by 29b71b8"},"comment":{"url":"https://api.github.com/repos/danehans/contrib/issues/comments/196875402","html_url":"https://github.com/danehans/contrib/pull/1#issuecomment-196875402","issue_url":"https://api.github.com/repos/danehans/contrib/issues/1","id":196875402,"user":{"login":"adamschaub","id":1927883,"avatar_url":"https://avatars.githubusercontent.com/u/1927883?v=3","gravatar_id":"","url":"https://api.github.com/users/adamschaub","html_url":"https://github.com/adamschaub","followers_url":"https://api.github.com/users/adamschaub/followers","following_url":"https://api.github.com/users/adamschaub/following{/other_user}","gists_url":"https://api.github.com/users/adamschaub/gists{/gist_id}","starred_url":"https://api.github.com/users/adamschaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamschaub/subscriptions","organizations_url":"https://api.github.com/users/adamschaub/orgs","repos_url":"https://api.github.com/users/adamschaub/repos","events_url":"https://api.github.com/users/adamschaub/events{/privacy}","received_events_url":"https://api.github.com/users/adamschaub/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T15:24:03Z","updated_at":"2016-03-15T15:24:03Z","body":"Just realized that I omitted two items:\r\n\r\n1) Check if previously bootstrapped. Because it's not a single script, should we do a check in main.yml before including coreos.yml?\r\n\r\n2) Setting up http proxy for wget when downloading the pypy tarball. pxe-cloud-config.yml needs this information as well, is there a way we can centralize this configuration?"}}