--- ## Molecule deploy and test tasks: - script: | #!/bin/bash set -ex # Run ansible-lint for the first set of roles (cp/lifecycle) if ! docker run --rm --volume ${bamboo.hostvolume}:/data \ --workdir=/data \ ${bamboo.container_molecule} \ ansible-lint -c .ansible-lint.yml; then echo "ERROR: Ansible Lint failed. Check the output for details." exit 1 # Stop the script immediately fi echo "Ansible Lint successful for all ansible/collections/ansible_collections!" other: clean-working-dir: true requirements: - system.docker.executable - AGENT_TYPE: Linux_Base_Agent