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

View File

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