drone-test-2/.drone.yml
Chris Hammer e0877fd8e4
All checks were successful
continuous-integration/drone/push Build is passing
bleh
2023-12-13 15:29:08 -05:00

39 lines
964 B
YAML

kind: pipeline
type: docker
name: CentOS_9-Ansible-Pipeline
global-variables:
ansible_image : &ansible_image "gitea.thezengarden.net/podman/ansible-dev/centos9:release"
ansible_inventory : &ansible_inventory "-i 127.0.0.1, --connection=local"
ansible_playbook : &ansible_playbook "baseos.yml"
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