fix: check task

This commit is contained in:
Bo-Yi Wu 2019-06-20 01:11:48 +08:00
parent 78caee477f
commit b83bcfa1a3
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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',
],
},
],