This commit is contained in:
parent
edffe71427
commit
177d6758a0
41
.drone.yml
41
.drone.yml
@ -10,38 +10,29 @@ trigger:
|
|||||||
event: [push]
|
event: [push]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "ansible_environment_setup"
|
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
|
||||||
commands:
|
|
||||||
- env
|
|
||||||
- ls -ltra
|
|
||||||
- . ./.drone.env
|
|
||||||
- echo "ANSIBLE_LINT_EXCLUSION -> $ANSIBLE_LINT_EXCLUSION"
|
|
||||||
- echo "ANSIBLE_INVENTORY -> $ANSIBLE_INVENTORY"
|
|
||||||
- echo "ANSIBLE_PLAYBOOK -> $ANSIBLE_PLAYBOOK"
|
|
||||||
|
|
||||||
- name: "ansible_environment_verify"
|
- name: "ansible_environment_verify"
|
||||||
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
commands:
|
commands:
|
||||||
- . ./.drone.env
|
- . ./.drone.env
|
||||||
|
- env
|
||||||
|
- echo
|
||||||
- git log -1
|
- git log -1
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint --version
|
- ansible-lint --version
|
||||||
- echo "ANSIBLE_LINT_EXCLUSION -> $ANSIBLE_LINT_EXCLUSION"
|
|
||||||
- echo "ANSIBLE_INVENTORY -> $ANSIBLE_INVENTORY"
|
|
||||||
- echo "ANSIBLE_PLAYBOOK -> $ANSIBLE_PLAYBOOK"
|
|
||||||
|
|
||||||
# - name: "ansible_galaxy_requirements"
|
- name: "ansible_galaxy_requirements"
|
||||||
# image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
# commands:
|
commands:
|
||||||
# - ansible-galaxy install -r requirements.yml
|
- ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
# - name: "ansible_lint"
|
- name: "ansible_lint"
|
||||||
# image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
# commands:
|
commands:
|
||||||
# - ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
|
- . ./.drone.env
|
||||||
|
- ansible-lint --offline $ANSIBLE_LINT_EXCLUSION
|
||||||
|
|
||||||
# - name: "ansible_playbook_execution"
|
- name: "ansible_playbook_execution"
|
||||||
# image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
image: gitea.thezengarden.net/podman/ansible-dev/centos9:release
|
||||||
# commands:
|
commands:
|
||||||
# - ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
- . ./.drone.env
|
||||||
|
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user