Confirmed script is running as root. Remove -f to see if password prompt goes away. May need to specify the key location if this does not work.

This commit is contained in:
Hyperling 2021-02-01 05:20:05 -06:00
parent f220a0584c
commit b3728f691b

View File

@ -5,19 +5,5 @@
openssh_keypair: openssh_keypair:
path: /root/.ssh/id_rsa path: /root/.ssh/id_rsa
- name: TEST DELETEME 1
shell: echo `whoami`
register: test1
- debug:
var: test1
- name: TEST DELETEME 2
shell: echo `pwd`
register: test2
- debug:
var: test2
- name: Join System to 1337 Share - name: Join System to 1337 Share
shell: echo "ssh-copy-id -f ling@leet" shell: ssh-copy-id ling@leet