trying pre-built plugin
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Chris Hammer 2023-11-16 23:17:07 -05:00
parent 13371314d0
commit afc9884f06

View File

@ -4,10 +4,16 @@ kind: pipeline
type: docker type: docker
steps: steps:
- name: Testing Drone CI with a simple Ansible Playbook - name: check playbook
image: gitea.thezengarden.net/podman/images/ansible-dev:latest image: plugins/ansible:3
commands: settings:
- ls -ltr $DRONE_WORKSPACE playbook: hello.yml
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml galaxy: requirements.yml
- ansible-lint --offline $DRONE_WORKSPACE syntax_check: true
- ansible-playbook -v -i 127.0.0.1, $DRONE_WORKSPACE/hello.yml # - name: Testing Drone CI with a simple Ansible Playbook
# image: gitea.thezengarden.net/podman/images/ansible-dev:latest
# commands:
# - ls -ltr $DRONE_WORKSPACE
# - 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