feat: configure host system (#12)

This commit is contained in:
Stephan Lüscher 2023-05-05 21:23:16 +00:00
parent 0822715a25
commit abffb756d6
No known key found for this signature in database
GPG key ID: 445779060FF3D3CF
4 changed files with 44 additions and 2 deletions

View file

@ -71,9 +71,20 @@ spec:
image: setup
volumeMounts:
- mountPath: /certs
subPath: ssh
name: ublue-os_forge-certs-pvc
readOnly: true
env:
- name: ANSIBLE_FORGE_HOST_USER
valueFrom:
secretKeyRef:
name: ublue-os_forge-secure
key: ANSIBLE_FORGE_HOST_USER
- name: ANSIBLE_FORGE_HOST_BECOME_PASSWORD
valueFrom:
secretKeyRef:
name: ublue-os_forge-secure
key: ANSIBLE_FORGE_HOST_BECOME_PASSWORD
workingDir: /ansible
command:
- ansible-playbook