drone-test-2/.drone.yml
Chris Hammer a4f2cd311b
Some checks reported errors
continuous-integration/drone/push Build encountered an error
fix step name
2023-12-13 15:22:58 -05:00

35 lines
722 B
YAML

---
kind: pipeline
type: docker
name: CentOS_9-Ansible-Pipeline
environment:
ANSIBLE_IMAGE : "gitea.thezengarden.net/podman/ansible-dev/centos9:release"
ANSIBLE_INVENTORY : "-i 127.0.0.1, --connection=local"
ANSIBLE_PLAYBOOK : "baseos.yml"
trigger:
branch:
exclude:
- main
event: [push]
steps:
- name: "ansible_environment_verify"
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
commands:
- echo $ANSIBLE_IMAGE
- echo $ANSIBLE_INVENTORY
- echo $ANSIBLE_PLAYBOOK
- name: "another_ansible_environment_verify"
image: "${ANSIBLE_IMAGE}"
commands:
- echo $ANSIBLE_IMAGE
- echo $ANSIBLE_INVENTORY
- echo $ANSIBLE_PLAYBOOK