{"action":"closed","issue":{"url":"https://api.github.com/repos/fractalcells/ansible-iocage/issues/4","repository_url":"https://api.github.com/repos/fractalcells/ansible-iocage","labels_url":"https://api.github.com/repos/fractalcells/ansible-iocage/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/fractalcells/ansible-iocage/issues/4/comments","events_url":"https://api.github.com/repos/fractalcells/ansible-iocage/issues/4/events","html_url":"https://github.com/fractalcells/ansible-iocage/issues/4","id":278841532,"node_id":"MDU6SXNzdWUyNzg4NDE1MzI=","number":4,"title":"\"iocage: release\" is not idempotent.","user":{"login":"Infiniverse","id":2773422,"node_id":"MDQ6VXNlcjI3NzM0MjI=","avatar_url":"https://avatars1.githubusercontent.com/u/2773422?v=4","gravatar_id":"","url":"https://api.github.com/users/Infiniverse","html_url":"https://github.com/Infiniverse","followers_url":"https://api.github.com/users/Infiniverse/followers","following_url":"https://api.github.com/users/Infiniverse/following{/other_user}","gists_url":"https://api.github.com/users/Infiniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/Infiniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Infiniverse/subscriptions","organizations_url":"https://api.github.com/users/Infiniverse/orgs","repos_url":"https://api.github.com/users/Infiniverse/repos","events_url":"https://api.github.com/users/Infiniverse/events{/privacy}","received_events_url":"https://api.github.com/users/Infiniverse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-04T00:57:24Z","updated_at":"2018-06-09T05:02:31Z","closed_at":"2018-06-09T05:02:31Z","author_association":"NONE","body":"When downloading a release with iocell, it isn't idempotent - it will extract the release again each time it is run:\r\n\r\n    - name: Check if our iocell release has been downloaded\r\n      iocell: state=fetched release=\"{{ iocage_release | default(omit) }}\"\r\n      check_mode: no\r\n\r\nThis is probably because iocell itself reextracts the release each time.\r\n\r\nHowever, ansible should be idempotent, and do nothing if the work has already been done.\r\n\r\nPerhaps ansible-iocell should be taught to look at 'iocell list -r' first, to determine whether it needs to do anything."}}
{"actor":{"display_login":"xmj"}}