16 lines
479 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
2021-02-02 21:28:17 -06:00
- name: General | Account Management | SSH Key | Root | Create
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n
2021-02-01 07:16:17 -06:00
args:
2021-02-02 21:05:46 -06:00
executable: "{{ bash_exec.stdout }}"
ignore_errors: yes
2021-02-02 21:28:17 -06:00
- name: General | Account Management | SSH Key | Root | Copy to 1337
shell: ssh-copy-id -i /root/.ssh/id_rsa ling@leet