remove syntax check as ansible-lint already does this; see: https://ansible.readthedocs.io/projects/lint/rules/syntax-check/
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
c6c3bf23d7
commit
3a02d1d9bd
@ -35,7 +35,6 @@ steps:
|
||||
- name: "Syntax check and Ansible Lint"
|
||||
image: gitea.thezengarden.net/podman/images/ansible-dev:latest
|
||||
commands:
|
||||
- ansible-playbook --syntax-check $DRONE_WORKSPACE/hello.yml
|
||||
- ansible-lint --offline $DRONE_WORKSPACE
|
||||
when:
|
||||
branch:
|
||||
|
@ -4,12 +4,10 @@
|
||||
become: false
|
||||
gather_facts: false
|
||||
|
||||
bob:
|
||||
- is great
|
||||
|
||||
tasks:
|
||||
- name: Say Hello world
|
||||
ansible.builtin.debug:
|
||||
msg: Hello world!
|
||||
|
||||
|
||||
- name: This should generate a syntax error but pass ansible-lint
|
||||
ansible.builtin.debug:
|
||||
mg: "this is incorrect, and should be `msg` instead!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user