2021-11-14 19:55:05 +01:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2021-11-14 20:16:21 +01:00
|
|
|
- name: apply ansible production
|
2021-11-14 20:12:49 +01:00
|
|
|
image: plugins/ansible:latest
|
2021-11-14 19:55:05 +01:00
|
|
|
settings:
|
|
|
|
playbook: deployment/todo-setup.yml
|
|
|
|
inventory: deployment/hosts
|
2021-11-14 20:11:42 +01:00
|
|
|
galaxy: deployment/requirements.yml
|
2021-11-14 20:16:21 +01:00
|
|
|
private_key:
|
|
|
|
from_secret: ansible_private_key
|
2021-11-14 20:23:05 +01:00
|
|
|
verbose: 3
|
2021-11-14 19:55:05 +01:00
|
|
|
when:
|
2021-11-14 20:08:47 +01:00
|
|
|
event:
|
|
|
|
- push
|
2021-11-14 19:55:05 +01:00
|
|
|
|