This commit is contained in:
parent
b53d9419bd
commit
546babeed2
@ -3,13 +3,13 @@ name: Test Ansible Linting of drone-test-1
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
|
||||||
environment:
|
|
||||||
GITEA_TOKEN:
|
|
||||||
from_secret: GITEA_TOKEN
|
|
||||||
|
|
||||||
steps:
|
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
|
||||||
|
environment:
|
||||||
|
GITEA_TOKEN:
|
||||||
|
from_secret: gitea_token
|
||||||
commands:
|
commands:
|
||||||
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
|
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
|
||||||
- ansible-lint --offline $DRONE_WORKSPACE
|
- ansible-lint --offline $DRONE_WORKSPACE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user