diff --git a/mylimbo-ansible-collections-global/workflowTemplates/mylimbo-ansible-collections-global-tbot-script.yaml b/mylimbo-ansible-collections-global/workflowTemplates/mylimbo-ansible-collections-global-tbot-script.yaml index ffb2022..d37e422 100644 --- a/mylimbo-ansible-collections-global/workflowTemplates/mylimbo-ansible-collections-global-tbot-script.yaml +++ b/mylimbo-ansible-collections-global/workflowTemplates/mylimbo-ansible-collections-global-tbot-script.yaml @@ -17,6 +17,7 @@ spec: - name: inventory_image_reference - name: ansible_secret_name - name: tbot_configmap_name + - name: ssh_domain script: image: oci.limbosolutions.com/public/mylimbo.ansible.collections.global:latest source: | @@ -25,20 +26,21 @@ spec: tbot start --config=/etc/tbot/tbot.yaml --oneshot {{ inputs.parameters.source }} env: - - name: ANSIBLE_VAULT_PASSWORD_FILE - value: /workspace/secrets/vault_password + - name: ANSIBLE_VAULT_PASSWORD_FILE + value: /workspace/secrets/vault_password + + - name: ANSIBLE_SSH_ARGS + value: -F /opt/machine-id/ssh_config - - name: ANSIBLE_SSH_ARGS - value: -F /opt/machine-id/ssh_config - - - name: SSH_DOMAIN - value: teleport.limbosolutions.com + - name: ANSIBLE_BECOME_PASS + valueFrom: + secretKeyRef: + name: "{{ inputs.parameters.ansible_secret_name }}" + key: ansible_become_password + + - name: SSH_DOMAIN + value: {{ inputs.parameters.ssh_domain }} - - name: ANSIBLE_BECOME_PASS - valueFrom: - secretKeyRef: - name: "{{ inputs.parameters.ansible_secret_name }}" - key: ansible_become_password resources: limits: memory: "512Mi"