2022-10-15 13:13:25 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: turn
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check syntax
|
|
|
|
image: plugins/ansible:1
|
|
|
|
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
|
|
|
|
image: plugins/ansible:1
|
|
|
|
volumes:
|
|
|
|
- name: certificates
|
|
|
|
path: /certificates
|
|
|
|
settings:
|
|
|
|
playbook: playbook.yml
|
|
|
|
inventory: inventory.yml
|
|
|
|
private_key:
|
|
|
|
from_secret: ssh_privatekey
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: certificates
|
|
|
|
claim:
|
|
|
|
name: flexvolsmb-drone-certs
|