diff --git a/.drone.yml b/.drone.yml index 9acb1f9..cd6ee01 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,8 +7,8 @@ steps: - name: lintPlaybooks image: geerlingguy/docker-ubuntu1804-ansible:testing commands: - - "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks" - - "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint" + - "find . -maxdepth 2 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks" + - "find . -maxdepth 2 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint" - name: sendtoMattermost image: plugins/webhook