diff options
| author | alex <alex@pdp7.net> | 2024-06-15 12:53:10 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-06-15 12:54:41 +0200 |
| commit | d03bdd13b811eb037c1a6c00b98a16abc86f5ecf (patch) | |
| tree | 45a61de988a23de6177b60e618174728b3f92797 /personal_infra | |
| parent | 3c1c18a627cc3303a3b6d90ef97039037430dbd7 (diff) | |
Specify /bin/bash for Debian
Diffstat (limited to 'personal_infra')
| -rw-r--r-- | personal_infra/playbooks/roles/talos/tasks/main.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/personal_infra/playbooks/roles/talos/tasks/main.yaml b/personal_infra/playbooks/roles/talos/tasks/main.yaml index 44189484..93103b66 100644 --- a/personal_infra/playbooks/roles/talos/tasks/main.yaml +++ b/personal_infra/playbooks/roles/talos/tasks/main.yaml @@ -27,12 +27,16 @@ shell: cmd: talosctl gen config -t controlplane -o talos/host-{{ inventory_hostname }}.yaml --with-secrets <(ansible-vault view talos/{{ talos_host.talos_cluster }}-secrets.yaml) --config-patch-control-plane @talos/host-{{ inventory_hostname }}.patch {{ talos_host.talos_cluster }} {{ talos_clusters[talos_host.talos_cluster].endpoint }} --force chdir: "{{ inventory_dir }}" + args: + executable: /bin/bash delegate_to: 127.0.0.1 - name: generate talosconfig shell: cmd: talosctl gen config -t talosconfig -o talos/talosconfig-{{ talos_host.talos_cluster }} --with-secrets <(ansible-vault view talos/{{ talos_host.talos_cluster }}-secrets.yaml) {{ talos_host.talos_cluster }} {{ talos_clusters[talos_host.talos_cluster].endpoint }} --force chdir: "{{ inventory_dir }}" + args: + executable: /bin/bash delegate_to: 127.0.0.1 - name: set talosconfig endpoint |
