{"action":"created","issue":{"url":"https://api.github.com/repos/metacloud/molecule/issues/855","repository_url":"https://api.github.com/repos/metacloud/molecule","labels_url":"https://api.github.com/repos/metacloud/molecule/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/metacloud/molecule/issues/855/comments","events_url":"https://api.github.com/repos/metacloud/molecule/issues/855/events","html_url":"https://github.com/metacloud/molecule/issues/855","id":234227398,"number":855,"title":"molecule verify re-create .molecule folder","user":{"login":"aroundthecode","id":16566002,"avatar_url":"https://avatars2.githubusercontent.com/u/16566002?v=3","gravatar_id":"","url":"https://api.github.com/users/aroundthecode","html_url":"https://github.com/aroundthecode","followers_url":"https://api.github.com/users/aroundthecode/followers","following_url":"https://api.github.com/users/aroundthecode/following{/other_user}","gists_url":"https://api.github.com/users/aroundthecode/gists{/gist_id}","starred_url":"https://api.github.com/users/aroundthecode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroundthecode/subscriptions","organizations_url":"https://api.github.com/users/aroundthecode/orgs","repos_url":"https://api.github.com/users/aroundthecode/repos","events_url":"https://api.github.com/users/aroundthecode/events{/privacy}","received_events_url":"https://api.github.com/users/aroundthecode/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-07T14:24:03Z","updated_at":"2017-06-10T01:07:41Z","closed_at":null,"body":"# Issue Type\r\n- Bug report\r\n\r\n# Molecule and Ansible details\r\n\r\n```\r\nansible 2.2.2.0 (pip install)\r\nmolecule, version 1.14.1.dev207 (pip install)\r\n```\r\n# Desired Behaviour\r\n\r\nMolecule **verify** should re-evaluate test on the previous scenario **create** phase\r\n\r\n# Actual Behaviour (Bug report only)\r\n\r\nmolecule destroy and re-create the .molecule folder.\r\n\r\nSince the folder contains all the inventory/group_vars/host_vars populated by the previous create phase, I'm not expecting this to be performed.\r\n\r\nI use \"verify\" phase as standalone to run corrections on test code without altering the previous steps, changing the inventory/group_vars/host_vars settings definitely let it behave in a different way.\r\n\r\nThis releates also to #841: I had to create some steps in my create/converge playbook to adjust group_vars with some values from my playbooks setting. This causes **molecule create** to run successfully with all test, while a **molecule verify** will fail due to the fact that the .molecule folder is re-created while the create/converge playbook are not executed so the additional group_vars are not present\r\n"},"comment":{"url":"https://api.github.com/repos/metacloud/molecule/issues/comments/307532126","html_url":"https://github.com/metacloud/molecule/issues/855#issuecomment-307532126","issue_url":"https://api.github.com/repos/metacloud/molecule/issues/855","id":307532126,"user":{"login":"retr0h","id":9895,"avatar_url":"https://avatars2.githubusercontent.com/u/9895?v=3","gravatar_id":"","url":"https://api.github.com/users/retr0h","html_url":"https://github.com/retr0h","followers_url":"https://api.github.com/users/retr0h/followers","following_url":"https://api.github.com/users/retr0h/following{/other_user}","gists_url":"https://api.github.com/users/retr0h/gists{/gist_id}","starred_url":"https://api.github.com/users/retr0h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retr0h/subscriptions","organizations_url":"https://api.github.com/users/retr0h/orgs","repos_url":"https://api.github.com/users/retr0h/repos","events_url":"https://api.github.com/users/retr0h/events{/privacy}","received_events_url":"https://api.github.com/users/retr0h/received_events","type":"User","site_admin":false},"created_at":"2017-06-10T01:07:41Z","updated_at":"2017-06-10T01:07:41Z","body":"> What do you think about this?\r\n\r\nThe issue is the user may add additional group vars to molecule.yml between converges.  By removing host vars only on converge there is a chance there is left over files, the user does not expect."}}
{"actor":{"display_login":"retr0h"}}