This commit is contained in:
parent
68fa7ad143
commit
5a74a3a4e5
@ -7,7 +7,7 @@ steps:
|
|||||||
- name: Testing Drone CI with a simple Ansible Playbook
|
- name: Testing Drone CI with a simple Ansible Playbook
|
||||||
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
|
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
|
||||||
commands:
|
commands:
|
||||||
- ls -ltra /drone/src
|
- ls -ltr $DRONE_WORKSPACE
|
||||||
- ansible-galaxy install -r /drone/src/requirements.yml
|
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
|
||||||
- ansible-lint /drone/src/hello.yml
|
- ansible-lint --offline $DRONE_WORKSPACE
|
||||||
- ansible-playbook -v -i 127.0.0.1, /drone/src/hello.yml
|
- ansible-playbook -v -i 127.0.0.1, $DRONE_WORKSPACE/hello.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user