add new secret to test
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
546babeed2
commit
c3a94b3046
@ -10,8 +10,13 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
|
ANSIBLE_INVENTORY:
|
||||||
|
from_secret: ansible_inventory
|
||||||
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
|
||||||
- ansible-playbook -v -i 127.0.0.1, $DRONE_WORKSPACE/hello.yml
|
- ansible-playbook -v -i $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml
|
||||||
- echo "GITEA_TOKEN=$GITEA_TOKEN"
|
- echo "GITEA_TOKEN=$GITEA_TOKEN"
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- development
|
||||||
|
Loading…
x
Reference in New Issue
Block a user