Add molecule/ansible

This commit is contained in:
2022-03-11 12:22:10 +13:00
parent fe01bc9a1b
commit 945d1e2dca

View File

@@ -10,6 +10,9 @@ steps:
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}