{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/51807","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/51807/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/51807/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/51807/events","html_url":"https://github.com/ansible/ansible/pull/51807","id":407211022,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUwNzM0OTYx","number":51807,"title":"beadm: Make creation of boot environments in snapshot format idempotent","user":{"login":"jpdasma","id":20491227,"node_id":"MDQ6VXNlcjIwNDkxMjI3","avatar_url":"https://avatars2.githubusercontent.com/u/20491227?v=4","gravatar_id":"","url":"https://api.github.com/users/jpdasma","html_url":"https://github.com/jpdasma","followers_url":"https://api.github.com/users/jpdasma/followers","following_url":"https://api.github.com/users/jpdasma/following{/other_user}","gists_url":"https://api.github.com/users/jpdasma/gists{/gist_id}","starred_url":"https://api.github.com/users/jpdasma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpdasma/subscriptions","organizations_url":"https://api.github.com/users/jpdasma/orgs","repos_url":"https://api.github.com/users/jpdasma/repos","events_url":"https://api.github.com/users/jpdasma/events{/privacy}","received_events_url":"https://api.github.com/users/jpdasma/received_events","type":"User","site_admin":false},"labels":[{"id":529643857,"node_id":"MDU6TGFiZWw1Mjk2NDM4NTc=","url":"https://api.github.com/repos/ansible/ansible/labels/WIP","name":"WIP","color":"fef2c0","default":false},{"id":1043397454,"node_id":"MDU6TGFiZWwxMDQzMzk3NDU0","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.8","name":"affects_2.8","color":"5319e7","default":false},{"id":852590921,"node_id":"MDU6TGFiZWw4NTI1OTA5MjE=","url":"https://api.github.com/repos/ansible/ansible/labels/feature","name":"feature","color":"006b75","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":61436281,"node_id":"MDU6TGFiZWw2MTQzNjI4MQ==","url":"https://api.github.com/repos/ansible/ansible/labels/needs_revision","name":"needs_revision","color":"eb6450","default":false},{"id":499433698,"node_id":"MDU6TGFiZWw0OTk0MzM2OTg=","url":"https://api.github.com/repos/ansible/ansible/labels/owner_pr","name":"owner_pr","color":"0e8a16","default":false},{"id":1186336204,"node_id":"MDU6TGFiZWwxMTg2MzM2MjA0","url":"https://api.github.com/repos/ansible/ansible/labels/solaris","name":"solaris","color":"aaaaaa","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-02-06T12:24:43Z","updated_at":"2019-02-07T10:32:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/51807","html_url":"https://github.com/ansible/ansible/pull/51807","diff_url":"https://github.com/ansible/ansible/pull/51807.diff","patch_url":"https://github.com/ansible/ansible/pull/51807.patch"},"body":"##### SUMMARY\r\nRunning this twice would result in an error\r\n\r\n```yaml\r\n# assume test-be already exists\r\n- name: Create existing ZFS boot environment snapshot\r\n  beadm:\r\n    name: test-be@snapshot1\r\n    state: present\r\n  register: beadm_create_result\r\n```\r\n\r\nThis would add checking for <bootname>@<snapshotname> if it already exists. This change only affects creation and deletion.\r\n\r\nEDIT: Actually, this might also affects the other features of beadm, will check what would be the new behavior for mounting, activating, etc if the name uses the format. \"a@b\"\r\n\r\n##### ISSUE TYPE\r\n- Feature Pull Request\r\n\r\n##### COMPONENT NAME\r\nbeadm\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/461366678","html_url":"https://github.com/ansible/ansible/pull/51807#issuecomment-461366678","issue_url":"https://api.github.com/repos/ansible/ansible/issues/51807","id":461366678,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MTM2NjY3OA==","user":{"login":"jpdasma","id":20491227,"node_id":"MDQ6VXNlcjIwNDkxMjI3","avatar_url":"https://avatars2.githubusercontent.com/u/20491227?v=4","gravatar_id":"","url":"https://api.github.com/users/jpdasma","html_url":"https://github.com/jpdasma","followers_url":"https://api.github.com/users/jpdasma/followers","following_url":"https://api.github.com/users/jpdasma/following{/other_user}","gists_url":"https://api.github.com/users/jpdasma/gists{/gist_id}","starred_url":"https://api.github.com/users/jpdasma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpdasma/subscriptions","organizations_url":"https://api.github.com/users/jpdasma/orgs","repos_url":"https://api.github.com/users/jpdasma/repos","events_url":"https://api.github.com/users/jpdasma/events{/privacy}","received_events_url":"https://api.github.com/users/jpdasma/received_events","type":"User","site_admin":false},"created_at":"2019-02-07T10:32:49Z","updated_at":"2019-02-07T10:32:49Z","author_association":"CONTRIBUTOR","body":"ready_for_review"}}
{"actor":{"display_login":"jpdasma"}}