ansible-test: fix dpkg_selections on Ubuntu 18.04 (#50915)

(cherry picked from commit a54eb58156)
This commit is contained in:
Jordan Borean 2019-01-15 14:37:20 +10:00 committed by Toshio Kuratomi
parent bca3066a27
commit e70aa001bf

View file

@ -30,7 +30,7 @@
- name: ensure hello was not upgraded
assert:
that:
- "{{ hello_version.stdout }} == {{ hello_old_version }}"
- hello_version.stdout == hello_old_version
- name: remove version freeze
dpkg_selections:
@ -49,7 +49,7 @@
- name: check that old version upgraded correctly
assert:
that:
- "{{ hello_version.stdout }}!={{ hello_old_version }}"
- hello_version.stdout != hello_old_version
- name: set hello to deinstall
dpkg_selections: