From: alex Date: Sat, 15 Jun 2024 10:53:10 +0000 (+0200) Subject: Specify /bin/bash for Debian X-Git-Tag: 20241020-emacs~154 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=d03bdd13b811eb037c1a6c00b98a16abc86f5ecf;p=alex.git Specify /bin/bash for Debian --- diff --git a/personal_infra/playbooks/roles/talos/tasks/main.yaml b/personal_infra/playbooks/roles/talos/tasks/main.yaml index 4418948..93103b6 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