29 lines
675 B
YAML
Raw Normal View History

---
# SSH keys for day-to-day system usage.
# Debian's ansible is too old to use this.
#- name: Create Root's SSH Key
# openssh_keypair:
# path: /root/.ssh/id_rsa
- name: Create Root's SSH Key
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n
2021-02-01 07:16:17 -06:00
args:
executable: /bin/bash
ignore_errors: yes
- name: Create Root's SSH Key
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
2021-02-01 07:16:17 -06:00
args:
stdin: "n"
ignore_errors: yes
- name: Create Root's SSH Key
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
2021-02-01 07:16:17 -06:00
args:
executable: /bin/bash
stdin: "n"
ignore_errors: yes
- name: Join System to 1337 Share
shell: ssh-copy-id -f -i /root/.ssh/id_rsa ling@leet