.drone.yml updates
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Chris Hammer 2023-11-18 02:09:00 -05:00
parent e2e8648977
commit ee63cf75f8

View File

@ -20,33 +20,35 @@ 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]
@ -56,7 +58,8 @@ steps:
- ansible-playbook -v $ANSIBLE_INVENTORY $DRONE_WORKSPACE/$ANSIBLE_PLAYBOOK - ansible-playbook -v $ANSIBLE_INVENTORY $DRONE_WORKSPACE/$ANSIBLE_PLAYBOOK
when: when:
branch: branch:
- development exclude:
- main
event: [push] event: [push]