fix: check task
This commit is contained in:
parent
78caee477f
commit
b83bcfa1a3
16
.drone.yml
16
.drone.yml
|
@ -13,8 +13,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "echo \"==> Syntax Check on Ansible 2.4 ...\""
|
- "echo \"==> Syntax Check on Ansible 2.4 ...\""
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint tasks/setup.yml
|
- ansible-lint tasks/main.yml
|
||||||
- ansible-playbook --syntax-check
|
- ansible-playbook --syntax-check tasks/main.yml
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_VERSION: 2.4
|
ANSIBLE_VERSION: 2.4
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "echo \"==> Syntax Check on Ansible 2.5 ...\""
|
- "echo \"==> Syntax Check on Ansible 2.5 ...\""
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint tasks/setup.yml
|
- ansible-lint tasks/main.yml
|
||||||
- ansible-playbook --syntax-check
|
- ansible-playbook --syntax-check tasks/main.yml
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_VERSION: 2.5
|
ANSIBLE_VERSION: 2.5
|
||||||
|
|
||||||
|
@ -53,8 +53,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "echo \"==> Syntax Check on Ansible 2.6 ...\""
|
- "echo \"==> Syntax Check on Ansible 2.6 ...\""
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint tasks/setup.yml
|
- ansible-lint tasks/main.yml
|
||||||
- ansible-playbook --syntax-check
|
- ansible-playbook --syntax-check tasks/main.yml
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_VERSION: 2.6
|
ANSIBLE_VERSION: 2.6
|
||||||
|
|
||||||
|
@ -73,8 +73,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- "echo \"==> Syntax Check on Ansible 2.7 ...\""
|
- "echo \"==> Syntax Check on Ansible 2.7 ...\""
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- ansible-lint tasks/setup.yml
|
- ansible-lint tasks/main.yml
|
||||||
- ansible-playbook --syntax-check
|
- ansible-playbook --syntax-check tasks/main.yml
|
||||||
environment:
|
environment:
|
||||||
ANSIBLE_VERSION: 2.7
|
ANSIBLE_VERSION: 2.7
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
commands: [
|
commands: [
|
||||||
'echo "==> Syntax Check on Ansible ' + version + ' ..."',
|
'echo "==> Syntax Check on Ansible ' + version + ' ..."',
|
||||||
'ansible --version',
|
'ansible --version',
|
||||||
'ansible-lint tasks/setup.yml',
|
'ansible-lint tasks/main.yml',
|
||||||
'ansible-playbook --syntax-check',
|
'ansible-playbook --syntax-check tasks/main.yml',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user