{"action":"closed","issue":{"url":"https://api.github.com/repos/contiv/ansible/issues/32","labels_url":"https://api.github.com/repos/contiv/ansible/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/contiv/ansible/issues/32/comments","events_url":"https://api.github.com/repos/contiv/ansible/issues/32/events","html_url":"https://github.com/contiv/ansible/issues/32","id":126600291,"number":32,"title":"ERROR! environment must be a dictionary, received env","user":{"login":"dgouju","id":16699383,"avatar_url":"https://avatars.githubusercontent.com/u/16699383?v=3","gravatar_id":"","url":"https://api.github.com/users/dgouju","html_url":"https://github.com/dgouju","followers_url":"https://api.github.com/users/dgouju/followers","following_url":"https://api.github.com/users/dgouju/following{/other_user}","gists_url":"https://api.github.com/users/dgouju/gists{/gist_id}","starred_url":"https://api.github.com/users/dgouju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgouju/subscriptions","organizations_url":"https://api.github.com/users/dgouju/orgs","repos_url":"https://api.github.com/users/dgouju/repos","events_url":"https://api.github.com/users/dgouju/events{/privacy}","received_events_url":"https://api.github.com/users/dgouju/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-14T07:50:18Z","updated_at":"2016-01-14T17:39:04Z","closed_at":"2016-01-14T17:39:04Z","body":"At the beginning of Ansible playbook run on master node:\r\nTASK [base : ensure custom facts directory exists] *****************************\r\n[DEPRECATION WARNING]: Using bare variables for environment is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{foo}}'). This feature will be removed in a future release. Deprecation warnings can be disabled by setting\r\ndeprecation_warnings=False in ansible.cfg.\r\nfatal: [node1]: FAILED! => {\"failed\": true, \"msg\": \"ERROR! environment must be a dictionary, received env (<class 'ansible.parsing.yaml.objects.AnsibleUnicode'>)\"}\r\n\r\nPLAY RECAP *********************************************************************\r\nnode1                      : ok=1    changed=0    unreachable=0    failed=1\r\n\r\n\r\n—> To correct, you have to change in ./ansible/site.yml all the « environment: env »  to « environment: '{{env}}’ » according to https://github.com/ansible/ansible/issues/11912\r\n\r\nHere is a proposed patch. \r\n[site.txt](https://github.com/contiv/ansible/files/90013/site.txt)\r\n\r\n"}}