ansible_drone/.drone.yml

82 lines
1.3 KiB
YAML
Raw Normal View History

2019-06-19 16:26:03 +02:00
---
kind: pipeline
name: linux-amd64
2019-06-19 16:26:03 +02:00
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.4
2019-06-19 16:26:03 +02:00
commands:
- "echo \"==> Syntax Check on Ansible 2.4 ...\""
2019-06-19 16:29:37 +02:00
- ansible --version
- ansible-lint tasks/setup.yml
- ansible-playbook --syntax-check
environment:
ANSIBLE_VERSION: 2.4
---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.5
commands:
- "echo \"==> Syntax Check on Ansible 2.5 ...\""
- ansible --version
- ansible-lint tasks/setup.yml
- ansible-playbook --syntax-check
environment:
ANSIBLE_VERSION: 2.5
---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.6
commands:
- "echo \"==> Syntax Check on Ansible 2.6 ...\""
- ansible --version
- ansible-lint tasks/setup.yml
- ansible-playbook --syntax-check
environment:
ANSIBLE_VERSION: 2.6
---
kind: pipeline
name: linux-amd64
platform:
os: linux
arch: amd64
steps:
- name: lint
pull: always
image: chusiang/ansible:2.7
commands:
- "echo \"==> Syntax Check on Ansible 2.7 ...\""
- ansible --version
- ansible-lint tasks/setup.yml
- ansible-playbook --syntax-check
environment:
ANSIBLE_VERSION: 2.7
...