From 11351cce8755684dd6f93cca1ad74aa3cb5c4f4c Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sun, 14 Jun 2026 16:23:06 +1000 Subject: [PATCH] Fix test --- tests.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests.sh b/tests.sh index 68f7007..a4fef8c 100755 --- a/tests.sh +++ b/tests.sh @@ -44,6 +44,13 @@ poetry run \ --format json | jq DEBIAN_FRONTEND=noninteractive apt-get remove -y --purge cowsay +# Common simple packages mode (is tested later) +poetry run \ + enroll manifest \ + --harvest "${BUNDLE_DIR}2" \ + --out "${ANSIBLE_DIR}2" \ + --merge-simple-packages + # Ansible test builtin cd "${ANSIBLE_DIR}" # Lint @@ -52,13 +59,8 @@ ansible-lint "${ANSIBLE_DIR}" # Run ansible-playbook playbook.yml -i "localhost," -c local --check --diff -# Common simple packages mode -poetry run \ - enroll manifest \ - --harvest "${BUNDLE_DIR}2" \ - --out "${ANSIBLE_DIR}2" \ - --merge-simple-packages - +# Test the --merge-simple-packages mode builtin cd "${ANSIBLE_DIR}2" ls "${ANSIBLE_DIR}2/roles" + ansible-playbook playbook.yml -i "localhost," -c local --check --diff