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