# Ansible Retry Color

**URL:** <https://forum.ansible.com/t/ansible-retry-color/21426>\
**Category:** Ansible Project\
**Created:** [May 13, 2016, 12:12am UTC](https://forum.ansible.com/t/ansible-retry-color/21426 "2016-05-13T00:12:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![james4](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@james4](https://forum.ansible.com/u/james4)\
**Post date:** [May 13, 2016, 12:12am UTC](https://forum.ansible.com/t/ansible-retry-color/21426/1 "2016-05-13T00:12:12Z")

</div>

It looks like when you use retry it uses a black font. On a black terminal you can barely see it. Anyway to change the color?

[![](https://lh3.googleusercontent.com/-Xvm4nzMXtVI/VzUbgd4iHqI/AAAAAAAAADM/kCyMJeYfV181oS0tDfOiFLamhgRgTiugQCLcB/s1600/Screen%2BShot%2B2016-05-12%2Bat%2B5.10.24%2BPM.png)](https://lh3.googleusercontent.com/-Xvm4nzMXtVI/VzUbgd4iHqI/AAAAAAAAADM/kCyMJeYfV181oS0tDfOiFLamhgRgTiugQCLcB/s1600/Screen%2BShot%2B2016-05-12%2Bat%2B5.10.24%2BPM.png)

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [May 13, 2016, 8:57am UTC](https://forum.ansible.com/t/ansible-retry-color/21426/2 "2016-05-13T08:57:13Z")

</div>

A quick fix might just be to turn off colours, which you can do in your ansible.cfg by setting

```auto
nocolor = 1

```

```auto

```

```auto

```

---

<div class="post-metadata">

**Author:** ![james4](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@james4](https://forum.ansible.com/u/james4)\
**Post date:** [May 13, 2016, 2:10pm UTC](https://forum.ansible.com/t/ansible-retry-color/21426/3 "2016-05-13T14:10:43Z")

</div>

Yeah, I’m aware, was hoping to still keep color.

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [May 13, 2016, 4:56pm UTC](https://forum.ansible.com/t/ansible-retry-color/21426/4 "2016-05-13T16:56:23Z")

</div>

ansible.cfg has a colors section that controls output colors.

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [May 13, 2016, 5:24pm UTC](https://forum.ansible.com/t/ansible-retry-color/21426/5 "2016-05-13T17:24:47Z")

</div>

[https://github.com/ansible/ansible/blob/devel/examples/ansible.cfg#L333](https://github.com/ansible/ansible/blob/devel/examples/ansible.cfg#L333)

---

<div class="post-metadata">

**Author:** ![james4](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@james4](https://forum.ansible.com/u/james4)\
**Post date:** [May 13, 2016, 5:59pm UTC](https://forum.ansible.com/t/ansible-retry-color/21426/6 "2016-05-13T17:59:03Z")

</div>

Thanks! Just found it also. It’s not in the docs yet. \>= v.2.0.2.0 looks like.

---

<div class="post-metadata">

**Author:** ![james4](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@james4](https://forum.ansible.com/u/james4)\
**Post date:** [May 13, 2016, 6:03pm UTC](https://forum.ansible.com/t/ansible-retry-color/21426/7 "2016-05-13T18:03:53Z")

</div>

Here are the available colors:

[https://github.com/ansible/ansible/blob/devel/lib/ansible/utils/color.py#L56](https://github.com/ansible/ansible/blob/devel/lib/ansible/utils/color.py#L56)
