add depends_on
This commit is contained in:
parent
f7114e1993
commit
b58f4b8625
@ -17,6 +17,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir /opt/test
|
- mkdir /opt/test
|
||||||
- git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1
|
- git clone https://gitea.thezengarden.net/chris/drone-test-1.git /opt/test/drone-test-1
|
||||||
|
depends_on:
|
||||||
|
- "Ansible Testing: Install required packages and Python modules"
|
||||||
|
|
||||||
|
|
||||||
- name: "Ansible Testing: Run Ansible-Lint and Ansible-Playbook against cloned repo"
|
- name: "Ansible Testing: Run Ansible-Lint and Ansible-Playbook against cloned repo"
|
||||||
@ -24,3 +26,5 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- ansible-lint /opt/test/drone-test-1
|
- ansible-lint /opt/test/drone-test-1
|
||||||
- ansible-playbook -v -i 127.0.0.1, /opt/test/drone-test-1/hello.yml
|
- ansible-playbook -v -i 127.0.0.1, /opt/test/drone-test-1/hello.yml
|
||||||
|
depends_on:
|
||||||
|
- "Ansible Testing: Make repo directory and clone desired repository"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user