Specified ssh login user via playbook vars
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
port: 22
|
||||
remote_user: root
|
||||
hosts: vps
|
||||
vars:
|
||||
- ssh_user: ssh_login
|
||||
|
||||
vars_prompt:
|
||||
- name: new_root_pw
|
||||
prompt: "What should be the new root password?"
|
||||
|
||||
Reference in New Issue
Block a user