Add quotes to command and prepare for need to ignore_errors.
This commit is contained in:
parent
edf6f0d63c
commit
20e785aaeb
@ -7,7 +7,8 @@
|
|||||||
# path: /root/.ssh/id_rsa
|
# path: /root/.ssh/id_rsa
|
||||||
|
|
||||||
- name: Create Root's SSH Key
|
- name: Create Root's SSH Key
|
||||||
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n
|
shell: "ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n"
|
||||||
|
#ignore_errors: yes
|
||||||
|
|
||||||
- name: Join System to 1337 Share
|
- name: Join System to 1337 Share
|
||||||
shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet
|
shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet
|
Loading…
x
Reference in New Issue
Block a user