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

This commit is contained in:
Chris Hammer 2023-11-17 15:26:42 -05:00
parent c6c3bf23d7
commit 3a02d1d9bd
2 changed files with 3 additions and 6 deletions

View File

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

View File

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