Fix in right place
Some checks failed
CI / test (push) Successful in 51s
CI / test (almalinux, docker.io/library/almalinux:9, python3.11) (push) Failing after 9m8s
CI / test (debian, docker.io/library/debian:13, python3) (push) Successful in 16m25s
Lint / test (push) Successful in 45s

This commit is contained in:
Miguel Jacq 2026-06-30 11:48:08 +10:00
parent a98d3372fb
commit f3e8387a10
Signed by: mig5
GPG key ID: 03906B4110AAD3B8

View file

@ -377,6 +377,9 @@ EOF
cd "${PROJECT_ROOT}"
rm -rf "${BUNDLE_DIR}" "${BUNDLE_DIFF_DIR}"
# Enforce decent perms on /root subdirs
find /root -type d -print0 | xargs -0 -r chmod 755
run poetry run enroll harvest --out "${BUNDLE_DIR}" --include-path "${JINJATURTLE_FIXTURE}"
run poetry run enroll explain "${BUNDLE_DIR}"
run bash -c "poetry run enroll explain '${BUNDLE_DIR}' --format json | jq"
@ -442,7 +445,6 @@ run_ansible_noop_tests() {
cd "${PROJECT_ROOT}"
rm -rf "${ANSIBLE_DIR}" "${ANSIBLE_NO_COMMON_DIR}" "${ANSIBLE_FQDN_DIR}"
find /root -type d -print0 | xargs -0 -r chmod 755
run poetry run enroll manifest --harvest "${BUNDLE_DIR}" --out "${ANSIBLE_DIR}"
ansible-galaxy install -r "${ANSIBLE_DIR}/requirements.yml"
run ansible-lint "${ANSIBLE_DIR}"