Ansible/playbook/roles/add-sshkey/tasks/main.yaml

4 lines
137 B
YAML

- name: Copy a ssh-key to Windows Server file
ansible.windows.win_copy:
src: authorized_keys
dest: C:\Users\ansible-admin\.ssh\