{"action":"opened","number":13612,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/13612","id":54197511,"html_url":"https://github.com/ansible/ansible/pull/13612","diff_url":"https://github.com/ansible/ansible/pull/13612.diff","patch_url":"https://github.com/ansible/ansible/pull/13612.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/13612","number":13612,"state":"open","locked":false,"title":"Add a guestfs connexion plugin","user":{"login":"mscherer","id":230335,"avatar_url":"https://avatars.githubusercontent.com/u/230335?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer","html_url":"https://github.com/mscherer","followers_url":"https://api.github.com/users/mscherer/followers","following_url":"https://api.github.com/users/mscherer/following{/other_user}","gists_url":"https://api.github.com/users/mscherer/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer/subscriptions","organizations_url":"https://api.github.com/users/mscherer/orgs","repos_url":"https://api.github.com/users/mscherer/repos","events_url":"https://api.github.com/users/mscherer/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer/received_events","type":"User","site_admin":false},"body":"This permit to edit a base image in a similar fashion to packer,\r\nthus permitting for example to customize base image before uploading\r\nthem directly to Glance or similar services for openstack, enabling\r\nimmutable server deployment.\r\n\r\nIt can be used like this:\r\n\r\n    $ cat hosts\r\n    fedora_22 ansible_ssh_host=Fedora-Cloud-Base-22-20150521.x86_64.qcow2 ansible_connection=guestfs\r\n\r\n    $ cat deploy.yml\r\n    ---\r\n    - hosts: fedora_22\r\n      roles:\r\n      - somerole\r\n\r\n    $ ansible-playbook -i hosts deploy.yml\r\n    [....]\r\n\r\nFor now, it only support local VM with single OS, but it should be trivial\r\nto add support for remote disks and multiple OS.","created_at":"2015-12-20T11:20:33Z","updated_at":"2015-12-20T11:20:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/13612/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/13612/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/13612/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/d90746c29ed975ae71ca791147e7c5f61b9929ed","head":{"label":"mscherer:guestfish_pr","ref":"guestfish_pr","sha":"d90746c29ed975ae71ca791147e7c5f61b9929ed","user":{"login":"mscherer","id":230335,"avatar_url":"https://avatars.githubusercontent.com/u/230335?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer","html_url":"https://github.com/mscherer","followers_url":"https://api.github.com/users/mscherer/followers","following_url":"https://api.github.com/users/mscherer/following{/other_user}","gists_url":"https://api.github.com/users/mscherer/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer/subscriptions","organizations_url":"https://api.github.com/users/mscherer/orgs","repos_url":"https://api.github.com/users/mscherer/repos","events_url":"https://api.github.com/users/mscherer/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer/received_events","type":"User","site_admin":false},"repo":{"id":11870170,"name":"ansible","full_name":"mscherer/ansible","owner":{"login":"mscherer","id":230335,"avatar_url":"https://avatars.githubusercontent.com/u/230335?v=3","gravatar_id":"","url":"https://api.github.com/users/mscherer","html_url":"https://github.com/mscherer","followers_url":"https://api.github.com/users/mscherer/followers","following_url":"https://api.github.com/users/mscherer/following{/other_user}","gists_url":"https://api.github.com/users/mscherer/gists{/gist_id}","starred_url":"https://api.github.com/users/mscherer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscherer/subscriptions","organizations_url":"https://api.github.com/users/mscherer/orgs","repos_url":"https://api.github.com/users/mscherer/repos","events_url":"https://api.github.com/users/mscherer/events{/privacy}","received_events_url":"https://api.github.com/users/mscherer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mscherer/ansible","description":"Ansible deploys applications, configures operating systems, and orchestrates detailed IT processes like zero-downtime rolling updates.  It uses SSH by default, so no special software has to be installed to start managing remote machines.  Modules can be written in any language.","fork":true,"url":"https://api.github.com/repos/mscherer/ansible","forks_url":"https://api.github.com/repos/mscherer/ansible/forks","keys_url":"https://api.github.com/repos/mscherer/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mscherer/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mscherer/ansible/teams","hooks_url":"https://api.github.com/repos/mscherer/ansible/hooks","issue_events_url":"https://api.github.com/repos/mscherer/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/mscherer/ansible/events","assignees_url":"https://api.github.com/repos/mscherer/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/mscherer/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/mscherer/ansible/tags","blobs_url":"https://api.github.com/repos/mscherer/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mscherer/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mscherer/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/mscherer/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mscherer/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/mscherer/ansible/languages","stargazers_url":"https://api.github.com/repos/mscherer/ansible/stargazers","contributors_url":"https://api.github.com/repos/mscherer/ansible/contributors","subscribers_url":"https://api.github.com/repos/mscherer/ansible/subscribers","subscription_url":"https://api.github.com/repos/mscherer/ansible/subscription","commits_url":"https://api.github.com/repos/mscherer/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/mscherer/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/mscherer/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/mscherer/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/mscherer/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/mscherer/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mscherer/ansible/merges","archive_url":"https://api.github.com/repos/mscherer/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mscherer/ansible/downloads","issues_url":"https://api.github.com/repos/mscherer/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/mscherer/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/mscherer/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/mscherer/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mscherer/ansible/labels{/name}","releases_url":"https://api.github.com/repos/mscherer/ansible/releases{/id}","created_at":"2013-08-03T21:57:04Z","updated_at":"2014-06-25T20:10:59Z","pushed_at":"2015-12-20T11:20:07Z","git_url":"git://github.com/mscherer/ansible.git","ssh_url":"git@github.com:mscherer/ansible.git","clone_url":"https://github.com/mscherer/ansible.git","svn_url":"https://github.com/mscherer/ansible","homepage":"http://ansibleworks.com/","size":36882,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"3da312da9c1a92d5e8f47f3274338e4ef476b5a6","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","created_at":"2012-03-06T14:58:02Z","updated_at":"2015-12-20T08:38:25Z","pushed_at":"2015-12-20T07:13:16Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":51923,"stargazers_count":14321,"watchers_count":14321,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4230,"mirror_url":null,"open_issues_count":923,"forks":4230,"open_issues":923,"watchers":14321,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/13612"},"html":{"href":"https://github.com/ansible/ansible/pull/13612"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/13612"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/13612/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/13612/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/13612/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/d90746c29ed975ae71ca791147e7c5f61b9929ed"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":209,"deletions":0,"changed_files":1}}