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:
parent
f220a0584c
commit
b3728f691b
@ -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
|
Loading…
x
Reference in New Issue
Block a user