Add windows role
Set up network interfaces and SSH for Windows hosts. We can’t gather facts before we know which remote shell to use, so first run a win_ping to determine if a given host is running Windows.
This commit is contained in:
parent
aa78b407c8
commit
91de26af57
7 changed files with 123 additions and 21 deletions
|
@ -8,6 +8,7 @@
|
|||
roles:
|
||||
- { role: alpine, when: ansible_distribution == 'Alpine' }
|
||||
- { role: debian, when: ansible_distribution == 'Debian' }
|
||||
- { role: windows, when: ansible_os_family == 'Windows' }
|
||||
|
||||
# hosts
|
||||
- hosts: mgmt-gw
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue