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
@@ -1,6 +1,9 @@
---
- name: Set up Collabora Online
hosts: vps
vars:
ssh_user: ssh_login
remote_user: {{ ssh_user }}
become: yes
become_user: root
become_method: su