diff --git a/.drone.yml b/.drone.yml index 93f5eeb..e5f6644 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,12 @@ ---- 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" @@ -26,7 +30,7 @@ steps: - name: "another_ansible_environment_verify" - image: "${ANSIBLE_IMAGE}" + image: *ansible_image commands: - echo $ANSIBLE_IMAGE - echo $ANSIBLE_INVENTORY