From f044682421b5c0d8e9f66774dde1697fc3da09e9 Mon Sep 17 00:00:00 2001 From: SebClem Date: Sat, 5 Nov 2022 18:42:41 +0100 Subject: [PATCH] Update drone pipeline --- .drone.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6613a70..6c17ce3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,17 +12,13 @@ steps: from_secret: ansible_vault_token private_key: from_secret: ansible_private_key - when: - event: - - promote - - rollback - - push - - custom - name: Run ansible playbook image: harbor.sebclem.fr/sebclem/drone-ansible-runner settings: - verbosity: 1 + verbosity: ${verbosity=0} + limit: ${limit} + tags: ${tags} playbook: sites.yml galaxy_file: roles/requirements.yml vault_token: @@ -30,9 +26,10 @@ steps: private_key: from_secret: ansible_private_key when: - event: - - promote - - rollback + branch: + - master + target: + - production - name: Notify image: drillster/drone-email