Add quotes to command and prepare for need to ignore_errors.

This commit is contained in:
Hyperling 2021-02-01 06:57:11 -06:00
parent edf6f0d63c
commit 20e785aaeb

View File

@ -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