# Can individual variables be set to no\_log?

**URL:** <https://forum.ansible.com/t/can-individual-variables-be-set-to-no-log/21635>\
**Category:** Ansible Project\
**Created:** [June 1, 2016, 3:36pm UTC](https://forum.ansible.com/t/can-individual-variables-be-set-to-no-log/21635 "2016-06-01T15:36:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdelaporte](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/jdelaporte/32/366_2.png) [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Post date:** [June 1, 2016, 3:36pm UTC](https://forum.ansible.com/t/can-individual-variables-be-set-to-no-log/21635/1 "2016-06-01T15:36:31Z")

</div>

I thought I ran across a playbook output that indicated individual variables had been set with a no\_log parameter. Unfortunately, I cannot find the website where I saw it yesterday. Is it actually possible to specify no\_log by variable?

Thanks!  
Joanna

---

<div class="post-metadata">

**Author:** ![Jeremy\_Young](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@Jeremy\_Young](https://forum.ansible.com/u/Jeremy_Young)\
**Post date:** [June 1, 2016, 5:02pm UTC](https://forum.ansible.com/t/can-individual-variables-be-set-to-no-log/21635/2 "2016-06-01T17:02:13Z")

</div>

Looks like you can do it by play or for an entire playbook:

[http://docs.ansible.com/ansible/faq.html#how-do-i-keep-secret-data-in-my-playbook](http://docs.ansible.com/ansible/faq.html#how-do-i-keep-secret-data-in-my-playbook)
