diff --git a/roles/localKey/tasks/main.yml b/roles/localKey/tasks/main.yml new file mode 100644 index 0000000000000000000000000000000000000000..02f35497022b2ab10845c0f51ec69da0b79af375 --- /dev/null +++ b/roles/localKey/tasks/main.yml @@ -0,0 +1,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 }}"