mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-19 19:30:22 -07:00
enable azure to provision windows instances
This commit is contained in:
parent
2314670952
commit
17c185c8d1
1 changed files with 2 additions and 2 deletions
|
@ -376,7 +376,7 @@ def create_virtual_machine(module, azure):
|
|||
authorized_keys_path = u'/home/%s/.ssh/authorized_keys' % user
|
||||
ssh_config.public_keys.public_keys.append(PublicKey(path=authorized_keys_path, fingerprint=fingerprint))
|
||||
# Append ssh config to linux machine config
|
||||
linux_config.ssh = ssh_config
|
||||
vm_config.ssh = ssh_config
|
||||
|
||||
# Create network configuration
|
||||
network_config = ConfigurationSetInputEndpoints()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue