# Using multiple variables with Assert

**URL:** <https://forum.ansible.com/t/using-multiple-variables-with-assert/38509>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [October 10, 2023, 5:01pm UTC](https://forum.ansible.com/t/using-multiple-variables-with-assert/38509 "2023-10-10T17:01:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Will\_McDonald](https://avatars.discourse-cdn.com/v4/letter/w/f475e1/32.png) [@Will\_McDonald](https://forum.ansible.com/u/Will_McDonald)\
**Post date:** [October 10, 2023, 5:01pm UTC](https://forum.ansible.com/t/using-multiple-variables-with-assert/38509/1 "2023-10-10T17:01:03Z")

</div>

I think you want “in” rather than “==” to verify if your OS release is in the corresponding list.
