Add hosts template for wsl role
For setting up an ssh connection to the Windows host to manage it.
This commit is contained in:
9
roles/wsl/templates/hosts.j2
Normal file
9
roles/wsl/templates/hosts.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
all:
|
||||
children:
|
||||
windows:
|
||||
hosts:
|
||||
{{ansible_hostname}}.local:
|
||||
ansible_user: {{ansible_user_id}}
|
||||
ansible_connection: ssh
|
||||
ansible_shell_type: cmd
|
||||
Reference in New Issue
Block a user