# Only show changed tasks

**URL:** <https://forum.ansible.com/t/only-show-changed-tasks/8636>\
**Category:** Get Help\
**Created:** [September 19, 2024, 5:20pm UTC](https://forum.ansible.com/t/only-show-changed-tasks/8636 "2024-09-19T17:20:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpearceFL](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dpearceFL](https://forum.ansible.com/u/dpearceFL)\
**Post date:** [September 19, 2024, 5:20pm UTC](https://forum.ansible.com/t/only-show-changed-tasks/8636/1 "2024-09-19T17:20:10Z")

</div>

I usually save the output of my ansible scripts to a log file. There are many times when I wish I could see only the changed tasks. How can I filter out all of the tasks that made no change? All suggestions are welcomed.

Thanks.

---

<div class="post-metadata">

**Author:** ![ryan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ryan/32/618_2.png) [@ryan](https://forum.ansible.com/u/ryan)\
**Post date:** [September 19, 2024, 5:24pm UTC](https://forum.ansible.com/t/only-show-changed-tasks/8636/2 "2024-09-19T17:24:36Z")

</div>

The [documentation](https://docs.ansible.com/ansible/latest/collections/ansible/builtin/default_callback.html) for the default callback plugin may be of interest. You can modify these settings in your `ansible.cfg` file or using environment variables

```auto
[defaults]
display_skipped_hosts = false
display_ok_hosts = false

```

```auto
export ANSIBLE_DISPLAY_SKIPPED_HOSTS=false
export ANSIBLE_DISPLAY_OK_HOSTS=false
ansible-playbook ...

```

---

<div class="post-metadata">

**Author:** ![Thulium-Drake](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/thulium-drake/32/833_2.png) [@Thulium-Drake](https://forum.ansible.com/u/Thulium-Drake)\
**Post date:** [September 20, 2024, 11:44am UTC](https://forum.ansible.com/t/only-show-changed-tasks/8636/3 "2024-09-20T11:44:21Z")

</div>

Also, you might also want to take a look at ARA ([https://ara.recordsansible.org](https://ara.recordsansible.org)), it uses an `callback` plugin to record _a lot_ more information in a searchable, clear reporting tool.

I almost never look at the output of my playbooks, only in ARA and I even run them with `--diff` (which generally generates even more output).

And you can set up an ARA server in minutes if you use the [GitHub - ansible-community/ara-collection: Collection of Ansible roles for ARA Records Ansible.](https://github.com/ansible-community/ara-collection/) 🙂
