From e3fbdb375cdacc7a59bd7191fbc377d4f1adbb5f Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Fri, 17 Nov 2023 11:40:34 -0500 Subject: [PATCH] grrrrr --- .drone.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6eb685c..c216a1a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,9 +12,11 @@ steps: - ansible --version - ansible-lint --version when: - branch: development + branch: + - development event: - - push + exclude: + - pull_request - name: "Ansible-Galaxy: Install from requirements.yml" @@ -22,9 +24,11 @@ steps: commands: - ansible-galaxy install -r $DRONE_WORKSPACE/requirements.yml when: - branch: development + branch: + - development event: - - push + exclude: + - pull_request - name: "Syntax check and Ansible Lint" @@ -33,9 +37,11 @@ steps: - ansible-lint --offline $DRONE_WORKSPACE - ansible-playbook --syntax-check $DRONE_WORKSPACE/hello.yml when: - branch: development + branch: + - development event: - - push + exclude: + - pull_request - name: "Test playbook execution" @@ -46,9 +52,11 @@ steps: commands: - ansible-playbook -v -i 127.0.0.1, --connection=local $DRONE_WORKSPACE/hello.yml when: - branch: development + branch: + - development event: - - push + exclude: + - pull_request # - name: Update repo with build stats