Specified ssh login user via playbook vars

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2020-01-03 17:03:54 +01:00
parent ef16d3c023
commit 156ebe6acf
3 changed files with 6 additions and 2 deletions
+3
View File
@@ -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?"