Compare commits

..

No commits in common. "db978752f53a14fad449fb1b4fdf02aa9daede02" and "04fb9e43a87cd7ce40c156424b7ec22a0a299447" have entirely different histories.

View File

@ -20,46 +20,43 @@ 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:
exclude: - development
- 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 requirements.yml - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml
when: when:
branch: branch:
exclude: - development
- main
event: [push] event: [push]
- name: "ansible_lint" - name: "ansible_lint"
image: *ansible_image image: *ansible_image
commands: commands:
- ansible-lint --offline - ansible-lint --offline $DRONE_WORKSPACE
when: when:
branch: branch:
exclude: - development
- 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 $ANSIBLE_PLAYBOOK - ansible-playbook -v $ANSIBLE_INVENTORY $DRONE_WORKSPACE/$ANSIBLE_PLAYBOOK
when: when:
branch: branch:
exclude: - development
- main
event: [push] event: [push]