Merge pull request '.drone.yml updates' (#11) from development into main
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #11
This commit is contained in:
Chris Hammer 2023-11-18 02:12:20 -05:00
commit db978752f5

View File

@ -20,43 +20,46 @@ steps:
- name: "ansible_environment_verify"
image: *ansible_image
commands:
- pwd
- git log -1
- ansible --version
- ansible-lint --version
when:
branch:
- development
exclude:
- main
event: [push]
- name: "ansible_galaxy_requirements"
image: *ansible_image
commands:
- ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
- ansible-galaxy install -r requirements.yml
when:
branch:
- development
exclude:
- main
event: [push]
- name: "ansible_lint"
image: *ansible_image
commands:
- ansible-lint --offline $DRONE_WORKSPACE
- ansible-lint --offline
when:
branch:
- development
exclude:
- main
event: [push]
- name: "ansible_playbook_execution"
image: *ansible_image
commands:
- ansible-playbook -v $ANSIBLE_INVENTORY $DRONE_WORKSPACE/$ANSIBLE_PLAYBOOK
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
when:
branch:
- development
exclude:
- main
event: [push]