fix: customized tests failing because they are wrong
All checks were successful
test / Linting (push) Successful in 9s
test / Molecule tests (default, debian11) (push) Successful in 40s
test / Molecule tests (default, debian12) (push) Successful in 42s
test / Molecule tests (default, ubuntu2004) (push) Successful in 49s
test / Molecule tests (with_custom_packages, debian11) (push) Successful in 46s
test / Molecule tests (default, ubuntu2204) (push) Successful in 54s
test / Molecule tests (with_custom_packages, debian12) (push) Successful in 47s
test / Molecule tests (with_custom_packages, ubuntu2004) (push) Successful in 56s
test / Molecule tests (with_custom_packages, ubuntu2204) (push) Successful in 55s

This commit is contained in:
Bertrand Lanson 2023-11-29 22:10:40 +01:00
parent 0a265c1135
commit a193a0ed15

View File

@ -47,8 +47,18 @@
ansible.builtin.assert:
that:
- "'pip' in pip3_updated_list"
- "not pip3_outdated_list"
- "'pip' not in pip3_outdated_list"
- "'vault-cli' not in pip3_updated_list"
- "'vault-cli' in pip3_outdated_list"
- "'yamllint' not in pip3_updated_list"
- "'yamllint' in pip3_outdated_list"
- "'docker' in pip3_updated_list"
- "'docker' not in pip3_outdated_list"
- name: "Print up-to-date packages"
ansible.builtin.debug:
msg: "{{ pip3_updated_list }}"
- name: "Print out-of-date packages"
ansible.builtin.debug:
msg: "{{ pip3_outdated_list }}"