Use custom image

This commit is contained in:
2022-03-11 14:37:40 +13:00
parent 6a29e9d2b0
commit 1b10dda692

View File

@@ -15,15 +15,11 @@ notify:
steps:
- name: Test with Molecule
image: python:3.9
image: guisea/ansible-molecule:latest
volumes:
- name: dockersock
path: /var/run
commands:
- apt-get update && apt-get install -y rsync
- python3 -m pip install --upgrade "ansible<=2.10.0" \
flake8 \
"molecule[docker]<3.4.0"
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
- cd ${DRONE_REPO_NAME}