File diff 000000000000 → 000000000000
roles/localKey/tasks/main.yml
Show inline comments
 
new file 100644
 
- 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 }}"