28 lines
491 B
YAML
28 lines
491 B
YAML
|
kind: pipeline
|
||
|
type: kubernetes
|
||
|
name: turn
|
||
|
|
||
|
steps:
|
||
|
- name: Check syntax
|
||
|
image: plugins/ansible:1
|
||
|
settings:
|
||
|
playbook: playbook.yml
|
||
|
inventory: inventory.yml
|
||
|
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
|