ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
e4222545c1
commit
81fb4582e7
33 changed files with 135 additions and 135 deletions
|
@ -11,7 +11,7 @@
|
|||
- postgresql-plpython
|
||||
- python-psycopg2
|
||||
- pxz
|
||||
when: ansible_distribution_major_version|int < 8 and ansible_distribution is 'RedHat'
|
||||
when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat'
|
||||
tags:
|
||||
- packages
|
||||
- postgresql
|
||||
|
@ -25,7 +25,7 @@
|
|||
- postgresql-plpython
|
||||
- python-psycopg2
|
||||
- pxz
|
||||
when: ansible_distribution_major_version|int >= 29 and ansible_distribution is 'Fedora' and ansible_cmdline.ostree is not defined
|
||||
when: ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora' and ansible_cmdline.ostree is not defined
|
||||
tags:
|
||||
- packages
|
||||
- postgresql
|
||||
|
@ -39,7 +39,7 @@
|
|||
- postgresql-plpython
|
||||
- python-psycopg2
|
||||
- pxz
|
||||
when: ansible_distribution_major_version|int >= 8 and ansible_distribution is 'RedHat' and ansible_cmdline.ostree is not defined
|
||||
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and ansible_cmdline.ostree is not defined
|
||||
tags:
|
||||
- packages
|
||||
- postgresql
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue