This commit is contained in:
parent
afc9884f06
commit
2ade0fd3fa
19
.drone.yml
19
.drone.yml
@ -4,16 +4,9 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: check playbook
|
- name: Testing Drone CI with a simple Ansible Playbook
|
||||||
image: plugins/ansible:3
|
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
|
||||||
settings:
|
commands:
|
||||||
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user