{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-container/issues/65","repository_url":"https://api.github.com/repos/ansible/ansible-container","labels_url":"https://api.github.com/repos/ansible/ansible-container/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-container/issues/65/comments","events_url":"https://api.github.com/repos/ansible/ansible-container/issues/65/events","html_url":"https://github.com/ansible/ansible-container/issues/65","id":160920102,"number":65,"title":"Changing `main.yml` when using `ansible-container init`","user":{"login":"cdrage","id":6422176,"avatar_url":"https://avatars.githubusercontent.com/u/6422176?v=3","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-06-17T15:55:00Z","updated_at":"2016-06-22T13:16:21Z","closed_at":null,"body":"In order to test / use `ansible-container` as quick as possible. Within `ansible-container init` files, we should have a basic playbook that echo's foo, or does something simple in nature.\r\n\r\nRelated to PR #62 \r\n\r\nFor example, this is how it looks like right now when doing `ansible-container init`:\r\n```sh\r\n# This should be your Ansible playbooks to provision your containers.                                                                                                                                                                                          \r\n# An inventory will be automatically created using the names of the services                                                                                                                                                                                   \r\n# from your container.yml file.                                                                                                                                                                                                                                \r\n# Add any roles or other modules you'll need to this directory too.                                                                                                                                                                                            \r\n# For many examples of roles, check out Ansible Galaxy: https://galaxy.ansible.com/                                                                                                                                                                            \r\n#                                                                                                                                                                                                                                                              \r\n# - hosts: all                                                                                                                                                                                                                                                 \r\n#   gather_facts: false                                                                                                                                                                                                                                        \r\n#   tasks:                                                                                                                                                                                                                                                     \r\n#     - raw: which python || apt-get update                                                                                                                                                                                                                    \r\n#     - raw: (which python && which aptitude) || apt-get install -y python python-apt aptitude                                                                                                                                                                 \r\n# - hosts: web                                                                                                                                                                                                                                                 \r\n#   tasks:                                                                                                                                                                                                                                                     \r\n#     - name: Upgrade APT                                                                                                                                                                                                                                      \r\n#       apt: upgrade=yes                                                                                                                                                                                                                                       \r\n#     - name: Install ca-certificates                                                                                                                                                                                                                          \r\n#       apt: name=ca-certificates state=latest                                                                                                                                                                                                                 \r\n#     - name: Install dumb-init                                                                                                                                                                                                                                \r\n#       apt: deb=https://github.com/Yelp/dumb-init/releases/download/v1.0.2/dumb-init_1.0.2_amd64.deb                                                                                                                                                          \r\n#     - name: Install Apache                                                                                                                                                                                                                                   \r\n#       apt: name=apache2 state=latest \r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-container/issues/comments/227739728","html_url":"https://github.com/ansible/ansible-container/issues/65#issuecomment-227739728","issue_url":"https://api.github.com/repos/ansible/ansible-container/issues/65","id":227739728,"user":{"login":"cdrage","id":6422176,"avatar_url":"https://avatars.githubusercontent.com/u/6422176?v=3","gravatar_id":"","url":"https://api.github.com/users/cdrage","html_url":"https://github.com/cdrage","followers_url":"https://api.github.com/users/cdrage/followers","following_url":"https://api.github.com/users/cdrage/following{/other_user}","gists_url":"https://api.github.com/users/cdrage/gists{/gist_id}","starred_url":"https://api.github.com/users/cdrage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdrage/subscriptions","organizations_url":"https://api.github.com/users/cdrage/orgs","repos_url":"https://api.github.com/users/cdrage/repos","events_url":"https://api.github.com/users/cdrage/events{/privacy}","received_events_url":"https://api.github.com/users/cdrage/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T13:16:21Z","updated_at":"2016-06-22T13:16:21Z","body":"I've closed #62 for now until we can agree on what example.\r\n\r\nMy thinking is something distro-based (ubuntu, centos, fedora, debian, etc.) using nginx. The `main.yml` could possibly create a \"hello world\" index.html page? "}}
{"actor":{"display_login":"cdrage"}}