From a193a0ed15377c54c93150eb20a0bde391d56894 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Wed, 29 Nov 2023 22:10:40 +0100 Subject: [PATCH] fix: customized tests failing because they are wrong --- molecule/with_custom_packages/verify.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/molecule/with_custom_packages/verify.yml b/molecule/with_custom_packages/verify.yml index 85e5558..fe21fc9 100644 --- a/molecule/with_custom_packages/verify.yml +++ b/molecule/with_custom_packages/verify.yml @@ -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 }}"