From e4968e258bcb7c4d42e28c154235549b2aafefe0 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 1 Feb 2021 05:47:22 -0600 Subject: [PATCH] Debian too old to use openssh_keypair from builtin. --- tasks/general/acct_mgmt/keys.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/general/acct_mgmt/keys.yml b/tasks/general/acct_mgmt/keys.yml index 1aca209..07910c0 100644 --- a/tasks/general/acct_mgmt/keys.yml +++ b/tasks/general/acct_mgmt/keys.yml @@ -4,6 +4,8 @@ - name: Create Root's SSH Key openssh_keypair: path: /root/.ssh/id_rsa + when: ansible_distribution != "Debian" - name: Join System to 1337 Share - shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet \ No newline at end of file + shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet + when: ansible_distribution != "Debian" \ No newline at end of file