Compare commits

...

3 Commits

Author SHA1 Message Date
db978752f5 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
2023-11-18 02:12:20 -05:00
1999484cd8 update ansible_playbook_execution task
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-18 02:11:37 -05:00
ee63cf75f8 .drone.yml updates
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-18 02:09:00 -05:00

View File

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