{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/5531","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5531/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5531/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5531/events","html_url":"https://github.com/mitchellh/vagrant/issues/5531","id":65003900,"number":5531,"title":"Vagrant doesn't propagate `--no-color` option to ansisble provisioner","user":{"login":"marsam","id":65531,"avatar_url":"https://avatars.githubusercontent.com/u/65531?v=3","gravatar_id":"","url":"https://api.github.com/users/marsam","html_url":"https://github.com/marsam","followers_url":"https://api.github.com/users/marsam/followers","following_url":"https://api.github.com/users/marsam/following{/other_user}","gists_url":"https://api.github.com/users/marsam/gists{/gist_id}","starred_url":"https://api.github.com/users/marsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marsam/subscriptions","organizations_url":"https://api.github.com/users/marsam/orgs","repos_url":"https://api.github.com/users/marsam/repos","events_url":"https://api.github.com/users/marsam/events{/privacy}","received_events_url":"https://api.github.com/users/marsam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/mitchellh/vagrant/labels/provisioner/ansible","name":"provisioner/ansible","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-28T23:59:42Z","updated_at":"2015-06-01T06:46:19Z","closed_at":"2015-06-01T03:34:21Z","body":"## Steps to reproduce\r\n\r\n1. Create a a Vagrantfile with ansible provisioner:\r\n\r\n```ruby\r\n# Vagrantfile\r\nVagrant.configure(\"2\") do |config|\r\n  config.vm.box = \"ubuntu/trusty64\"\r\n  config.vm.provision \"ansible\" do |ansible|\r\n    ansible.playbook = \"playbook.yml\"\r\n  end\r\nend\r\n```\r\n\r\n```yaml\r\n# playbook.yml\r\n- hosts: default\r\n  gather_facts: no\r\n  tasks:\r\n    - command: uname -a\r\n```\r\n\r\n2. Provision with `--no-color` option:\r\n\r\n![](http://i.imgur.com/f997JDS.png)\r\n\r\nThis error occur because `ANSIBLE_FORCE_COLOR=true` is [harcoded](https://github.com/mitchellh/vagrant/blob/8b8f2b26a6e736e4d77c49c7686c9f0a1a0c2eb2/plugins/provisioners/ansible/provisioner.rb#L71) in the provisioner\r\n"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/107324818","html_url":"https://github.com/mitchellh/vagrant/issues/5531#issuecomment-107324818","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5531","id":107324818,"user":{"login":"gildegoma","id":434654,"avatar_url":"https://avatars.githubusercontent.com/u/434654?v=3","gravatar_id":"","url":"https://api.github.com/users/gildegoma","html_url":"https://github.com/gildegoma","followers_url":"https://api.github.com/users/gildegoma/followers","following_url":"https://api.github.com/users/gildegoma/following{/other_user}","gists_url":"https://api.github.com/users/gildegoma/gists{/gist_id}","starred_url":"https://api.github.com/users/gildegoma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gildegoma/subscriptions","organizations_url":"https://api.github.com/users/gildegoma/orgs","repos_url":"https://api.github.com/users/gildegoma/repos","events_url":"https://api.github.com/users/gildegoma/events{/privacy}","received_events_url":"https://api.github.com/users/gildegoma/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T06:46:19Z","updated_at":"2015-06-01T06:46:19Z","body":"Sorry guys, I was late to the party! Please checkout f7894d9.\r\n\r\nAnyways, thanks @marsam and @sethvargo for your work and waking me up :stuck_out_tongue_winking_eye:."}}