Update drone pipeline

This commit is contained in:
SebClem 2022-11-05 18:42:41 +01:00
parent f882691ac9
commit f044682421
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -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