Role prerequisites: add task to generate SSH keys
This commit is contained in:
parent
98324509dd
commit
50cc1a3efa
1 changed files with 5 additions and 0 deletions
|
@ -13,3 +13,8 @@
|
|||
- name: Test root access for admin account
|
||||
command: "true"
|
||||
changed_when: False
|
||||
|
||||
- name: Generate SSH keys
|
||||
shell: ssh-keygen -b 4096 -t rsa -f /home/admin/.ssh/id_rsa -q -N ""
|
||||
args:
|
||||
creates: /home/admin/.ssh/id_rsa
|
||||
|
|
Loading…
Reference in a new issue