add whoami to verify what user we are
This commit is contained in:
parent
da407eddee
commit
fd4b03d2f9
@ -13,10 +13,11 @@ steps:
|
|||||||
ANSIBLE_INVENTORY:
|
ANSIBLE_INVENTORY:
|
||||||
from_secret: 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 $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml
|
- ansible-playbook -v -i $ANSIBLE_INVENTORY $DRONE_WORKSPACE/hello.yml
|
||||||
- echo "Build complete and successful for $DRONE_REPO_NAME"
|
- echo "Build complete and successful for $DRONE_REPO_NAME"
|
||||||
|
- whoami
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- development
|
- development
|
||||||
|
Loading…
x
Reference in New Issue
Block a user