Debian too old to use openssh_keypair from builtin.

This commit is contained in:
Hyperling 2021-02-01 05:47:22 -06:00
parent 36e2e6ee4b
commit e4968e258b

View File

@ -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
when: ansible_distribution != "Debian"