This commit is contained in:
parent
de4b4bff42
commit
f08a5de39b
@ -21,7 +21,7 @@ trigger:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "ansible_environment_verify"
|
- name: "ansible_environment_verify"
|
||||||
image: *ansible_image
|
image: "$ANSIBLE_DOCKER_IMAGE"
|
||||||
commands:
|
commands:
|
||||||
- git log -1
|
- git log -1
|
||||||
- ansible --version
|
- ansible --version
|
||||||
@ -33,12 +33,12 @@ steps:
|
|||||||
# - ansible-galaxy install -r requirements.yml
|
# - ansible-galaxy install -r requirements.yml
|
||||||
|
|
||||||
- name: "ansible_lint"
|
- name: "ansible_lint"
|
||||||
image: *ansible_image
|
image: "$ANSIBLE_DOCKER_IMAGE"
|
||||||
commands:
|
commands:
|
||||||
- ansible-lint --offline
|
- ansible-lint --offline
|
||||||
|
|
||||||
- name: "ansible_playbook_execution"
|
- name: "ansible_playbook_execution"
|
||||||
image: *ansible_image
|
image: "$ANSIBLE_DOCKER_IMAGE"
|
||||||
commands:
|
commands:
|
||||||
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
- ansible-playbook -v $ANSIBLE_INVENTORY $ANSIBLE_PLAYBOOK
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user