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
Ansible variables in when
Ansible Project
ubuntu
6
12
June 24, 2013
when: syntax
Ansible Project
3
8
May 28, 2013
Check for two possible values of var in when_string?
Ansible Project
ubuntu
2
7
September 30, 2013
Compare two variables
Ansible Project
1
22
December 1, 2016
Migrating from 1.1 to 1.2, problems replacing "only_if" with "when"
Ansible Project
ubuntu
9
0
July 17, 2013