Ansible
Using multiple variables with Assert
Archives
Ansible Project
ansible-project
Will_McDonald
(Will McDonald)
October 10, 2023, 5:01pm
1
I think you want “in” rather than “==” to verify if your OS release is in the corresponding list.
Related topics
Topic
Replies
Views
Activity
Compare two variables
Ansible Project
1
19
December 1, 2016
Ansible variables in when
Ansible Project
ubuntu
6
2
June 24, 2013
Check for two possible values of var in when_string?
Ansible Project
ubuntu
2
7
September 30, 2013
when: syntax
Ansible Project
3
5
May 28, 2013
Need an assist for an ansible playbook where is am receiving error while comparing ansible value with the customer provided value.
Ansible Project
3
2
January 10, 2022