Files @ cdf411165c6e
Branch filter:

Location: ChaosStuff/cnc-dashboard/roles/localKey/tasks/main.yml

Dennis Fink
Double quote to prevent globbing and word splitting.

https://www.shellcheck.net/wiki/SC2086
1
2
3
4
5
6
7
8
- name: Local SSH keypair and remote deployment
  delegate_to: localhost
  throttle: 1
  ansible.builtin.script:
    chdir: "{{ inventory_dir }}"
    cmd: init.sh "{{ ansible_host }}"
  register: cmd_reg
- debug: msg="{{ cmd_reg.stdout }}"