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