Working with ansible is enjoyable, but it’s a little bland when you use it with Jenkins. Jenkins doesn’t spawn a TTY and that causes ansible to skip over the code that outputs status lines with colors. The fix is relatively straightforward. First, install the AnsiColor Plugin on your Jenkins node. Once that’s done, edit your Jenkins job so that you export ANSIBLE_FORCE_COLOR=true before running ansible: export ANSIBLE_FORCE_COLOR=true ansible-playbook -i hosts site.