.drone.yml updates #11

Merged
chris merged 2 commits from development into main 2023-11-18 02:12:21 -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]