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