From 20e785aaebb00051c822addc6f0c36519e569047 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 1 Feb 2021 06:57:11 -0600 Subject: [PATCH] Add quotes to command and prepare for need to ignore_errors. --- tasks/general/acct_mgmt/keys.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/general/acct_mgmt/keys.yml b/tasks/general/acct_mgmt/keys.yml index c147ef8..5820bf3 100644 --- a/tasks/general/acct_mgmt/keys.yml +++ b/tasks/general/acct_mgmt/keys.yml @@ -7,7 +7,8 @@ # path: /root/.ssh/id_rsa - 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 shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet \ No newline at end of file