New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keep_color doesn't work with ansible script on guest #3891
Labels
Comments
/cc @gildegoma |
@melck I think that setting config.vm.define 'test' do |machine|
machine.vm.provision :shell, keep_color: true, :inline => <<EOS
set -e
cd /vagrant
PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ansible-playbook -c local -i ...
EOS
end Note that:
|
It's work very well. Thank you. I will follow your work and i will be glad to test. |
@melck cool, good to hear! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, first sorry for my english !
I want to report a little issue, i'm on windows 7 and i launch ansible provisionning from shell script on guest. I want to keep color like ansible handle it but when i put keep_color, the colors are white and all red if script fails. Do you have a way to workaround this color issue without install plugin?
The text was updated successfully, but these errors were encountered: