docker build -t sshd-image .
docker run --rm -it --name sshd -p 2222:22 sshd-image
ssh -p 2222 bilbo@localhost
kind load docker-image sshd-image
docker build -t localhost:5001/ansible-runner .
docker push localhost:5001/ansible-runner
I want to test it with roles defined in local directory.
export ANSIBLE_INVENTORY=inventory_local.yaml
ansible-runner run -i apply --artifact-dir=artifacts . -p playbook_1.yaml
export ANSIBLE_ROLES_PATH=$(pwd)/galaxy/roles
export ANSIBLE_COLLECTIONS_PATH=$(pwd)/galaxy/collections
ansible-galaxy role install --roles-path=$ANSIBLE_ROLES_PATH geerlingguy.java