31 lines
969 B
YAML
31 lines
969 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Workflow
|
|
metadata:
|
|
namespace: hosting-mngt
|
|
generateName: tests-mylimbo-ansible-collections-global-tbot-script-
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: oci-registry-secret
|
|
entrypoint: exec
|
|
serviceAccountName: argo-runner
|
|
templates:
|
|
- name: exec
|
|
steps:
|
|
- - name: script-exec
|
|
templateRef:
|
|
name: mylimbo-ansible-collections-global-tbot
|
|
template: raw-source
|
|
arguments:
|
|
parameters:
|
|
- name: tbot_configmap_name
|
|
value: hosting-mngt-tbot-config
|
|
- name: inventory_image_reference
|
|
value: oci.limbosolutions.com/mylimbo.infra.icarus/ansible-inventory:latest
|
|
- name: ansible_secret_name
|
|
value: ansible-secret
|
|
- name: source
|
|
value: |
|
|
ansible-playbook mylimbo.globals.host_maintenance.os_info
|
|
|
|
|