Update '.woodpecker/ansible.yml'
This commit is contained in:
parent
d061a19ba2
commit
a56d52061c
@ -1,34 +1 @@
|
|||||||
steps:
|
extend: https://git.sebclem.fr/sebclem/woodpecker-pipeline-config/raw/branch/main/playbook.yml
|
||||||
check-ansible-syntax:
|
|
||||||
image: git.sebclem.fr/sebclem/woodpecker-ansible-runner
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
playbook: playbooks/install.yml
|
|
||||||
galaxy_file: roles/requirements.yml
|
|
||||||
check_syntax: true
|
|
||||||
vault_token:
|
|
||||||
from_secret: ansible_vault_token
|
|
||||||
when:
|
|
||||||
- event: "push"
|
|
||||||
- event: [pull_request, manual, deployment]
|
|
||||||
|
|
||||||
run-ansible-playbook:
|
|
||||||
image: git.sebclem.fr/sebclem/woodpecker-ansible-runner
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
verbosity: ${verbosity=0}
|
|
||||||
limit: ${limit}
|
|
||||||
tags: ${tags}
|
|
||||||
playbook: playbooks/install.yml
|
|
||||||
galaxy_file: roles/requirements.yml
|
|
||||||
vault_token:
|
|
||||||
from_secret: ansible_vault_token
|
|
||||||
private_key:
|
|
||||||
from_secret: ansible_private_key
|
|
||||||
when:
|
|
||||||
environment: production
|
|
||||||
event: deployment
|
|
||||||
|
|
||||||
when:
|
|
||||||
- event: "push"
|
|
||||||
- event: [pull_request, manual, deployment]
|
|
Loading…
Reference in New Issue
Block a user