diff --git a/.drone.yml b/.drone.yml index dd74b32..754efc7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: diff --git a/hello.yml b/hello.yml index b43e454..a7bb415 100644 --- a/hello.yml +++ b/hello.yml @@ -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!"