Fix python version lookup

This commit is contained in:
Laurent Indermuehle 2023-01-20 17:13:16 +01:00
parent b2cbd3bc78
commit d6956e236e
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -47,7 +47,7 @@
- name: Assert that expected Python is installed
assert:
that:
- python_version is in python_in_use.stdout
- python_in_use.stdout is search(python_version)
- name: Assert that we run the expected ansible version
assert: