drone-test-1/.drone.yml
Chris Hammer 546babeed2
All checks were successful
continuous-integration/drone/push Build is passing
move environment
2023-11-16 23:36:48 -05:00

18 lines
517 B
YAML

---
name: Test Ansible Linting of drone-test-1
kind: pipeline
type: docker
steps:
- name: Testing Drone CI with a simple Ansible Playbook
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
environment:
GITEA_TOKEN:
from_secret: gitea_token
commands:
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
- ansible-lint --offline $DRONE_WORKSPACE
- ansible-playbook -v -i 127.0.0.1, $DRONE_WORKSPACE/hello.yml
- echo "GITEA_TOKEN=$GITEA_TOKEN"