2022-10-15 13:13:25 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: turn
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check syntax
|
2022-10-15 13:25:48 +00:00
|
|
|
image: plugins/ansible:3
|
2022-10-15 13:13:25 +00:00
|
|
|
settings:
|
|
|
|
playbook: playbook.yml
|
|
|
|
inventory: inventory.yml
|
2022-10-15 13:19:59 +00:00
|
|
|
galaxy: requirements.yml
|
2022-10-15 13:13:25 +00:00
|
|
|
syntax_check: true
|
|
|
|
|
|
|
|
- name: Apply playbook
|
2022-10-15 13:27:41 +00:00
|
|
|
image: plugins/ansible:3
|
2022-10-15 13:13:25 +00:00
|
|
|
volumes:
|
|
|
|
- name: certificates
|
|
|
|
path: /certificates
|
|
|
|
settings:
|
|
|
|
playbook: playbook.yml
|
|
|
|
inventory: inventory.yml
|
2022-10-15 13:27:41 +00:00
|
|
|
galaxy: requirements.yml
|
2022-10-15 13:13:25 +00:00
|
|
|
private_key:
|
|
|
|
from_secret: ssh_privatekey
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: certificates
|
|
|
|
claim:
|
|
|
|
name: flexvolsmb-drone-certs
|