1886d95a23
Reviewed-on: sebclem/drone-ansible-runner#12 Co-authored-by: Renovate <ronovate@seb6596.ovh> Co-committed-by: Renovate <ronovate@seb6596.ovh> |
||
---|---|---|
.drone.yml | ||
Dockerfile | ||
entrypoint | ||
README.md | ||
renovate.json |
Drone Ansible Runner
Config:
kind: pipeline
name: default
steps:
- name: Check ansible syntax
image: harbor.sebclem.fr/sebclem/drone-ansible-runner
settings:
playbook: sites.yml
galaxy_file: roles/requirements.yml
check_syntax: true
vault_token:
from_secret: ansible_vault_password
private_key:
from_secret: ansible_private_key
when:
event:
- push
- custom
- name: Run ansible playbook
image: harbor.sebclem.fr/sebclem/drone-ansible-runner
settings:
verbosity: ${verbosity=1}
limit: ${limit}
tags: ${tags}
playbook: sites.yml
galaxy_file: roles/requirements.yml
check_syntax: true
vault_token:
from_secret: ansible_vault_password
private_key:
from_secret: ansible_private_key
limit: harbor.home
when:
event:
- promote
- rollback
- custom