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

This commit is contained in:
Jordan Borean 2019-01-15 14:37:20 +10:00 committed by GitHub
parent 7b4bc572de
commit a54eb58156
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: