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

(cherry picked from commit a54eb58156)
pull/50920/head
Jordan Borean 6 years ago committed by Toshio Kuratomi
parent bca3066a27
commit e70aa001bf

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

Loading…
Cancel
Save