18 lines
334 B
YAML
18 lines
334 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: apply ansible production
|
|
image: plugins/ansible:latest
|
|
settings:
|
|
playbook: deployment/todo-setup.yml
|
|
inventory: deployment/prod/hosts
|
|
galaxy: deployment/requirements.yml
|
|
private_key:
|
|
from_secret: ansible_private_key
|
|
verbose: 3
|
|
when:
|
|
event:
|
|
- push
|
|
|