remove debug; fix globals
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Chris Hammer 2023-11-17 15:53:13 -05:00
parent 59bfbf0c2b
commit 31b7fe0acc

View File

@ -1,6 +1,8 @@
---
global-variables:
ansible_image: &ansible_image gitea.thezengarden.net/podman/images/ansible-dev:latest
ansible_image: &ansible_image "gitea.thezengarden.net/podman/images/ansible-dev:latest"
ansible_inventory: &ansible_inventory "-i 127.0.0.1, --connection=local"
ansible_playbook: &ansible_playbook "hello.yml"
name: run_ansible_tests
@ -9,22 +11,12 @@ type: docker
environment:
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
ANSIBLE_PLAYBOOK : hello.yml
ANSIBLE_INVENTORY : *ansible_inventory
ANSIBLE_PLAYBOOK : *ansible_playbook
ANSIBLE_DOCKER_IMAGE : *ansible_image
steps:
- name: "debug"
image: *ansible_image
commands:
- "echo \"image: $ANSIBLE_DOCKER_IMAGE - inventory: $ANSIBLE_INVENTORY - playbook: $ANSIBLE_PLAYBOOK\""
when:
branch:
- development
event: [push]
- name: "ansible_environment_verify"
image: *ansible_image
commands: