Patrick Marques
d5cd10c214
Remove unused import from azure dyn inventory ( #34980 )
8 years ago
Tyler Gregory
6dfc82fe3e
Set win_rm protocol to the name, not the full ProtocolTypes object ( #37499 )
8 years ago
Fabrice Flore-Thébault
5b52bfad6d
azure_rm inventory should add "ansible_connection: winrm" in host_vars for windows hosts - fixes #34689 ( #34691 )
...
* fix for https://github.com/ansible/ansible/issues/34689
azure_rm inventory should add "ansible_connection: winrm" in host_vars for windows hosts
* add ansible_connection: winrm - fix for https://github.com/ansible/ansible/issues/34689
8 years ago
Matt Clay
e45c763b64
Fix invalid string escape sequences.
8 years ago
Thomas Stringer
cb01f33d1e
refactor azure dynamic inventory script configparser import to support python3 ( #31370 )
...
* refactor configparser import to support python3
* change ModuleNotFoundError to ImportError
8 years ago
Matt Davis
12700f61e7
fixed incorrect endpoint selection in azure_rm.py
8 years ago
Matt Davis
b3f2d1befe
expose cloud_environment override in azure_rm modules ( #28743 )
...
* Can be set via env, credential profile, or module arg
* Valid values defined by Azure Python SDK, currently `AzureCloud`,`AzureChinaCloud`,`AzureUSGovernment`,`AzureGermanCloud` or any Azure Stack metadata discovery URL.
8 years ago
Sam Doran
f35975f114
PEP8 fixes
8 years ago
Peter Hoffmann
6c9cb05cfd
Use tenant in UserPassCredentials if set.
...
If you have multiple Tenants you need to set the tenant in https://github.com/Azure/msrestazure-for-python/blob/master/msrestazure/azure_active_directory.py otherwise the azure_rm.py call will fail.
8 years ago
James Portman
950e4b6505
Added checks for machine.os_profile is not None before trying to access child attributes ( #22906 )
8 years ago
Matt Martz
d3249e7875
pep8 fixes for contrib ( #24344 )
9 years ago
Matt Davis
cbedc4a12a
azure_rm inventory version comparison fix ( #22341 )
9 years ago
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
9 years ago
Matt Clay
d913f69ba1
PEP 8 W291 whitespace cleanup.
9 years ago
Peter Hoffmann
d70b2c8afd
fix typo
9 years ago
Laurent Mazuel
8b9ded3556
Fix bug 17934 : Azure register failure must not be blocking ( #18695 )
...
* Fix bug 17934
* Update link in Azure provider warning log
9 years ago
Andrea Tartaglia
59227d8c31
Removed dict.iteritems() in several other files.
...
This is for py3 compatibility #18506
9 years ago
Matt Davis
6b02d296d7
fix azure_rm.py to work with 2.0.0rc5 or rc6
9 years ago
Robin Schneider
d76dd56ca3
Use addresses and names reserved for documentation
...
Trying to preserve the meaning of the examples. Not all occurrences in
`docsite/rst/playbooks_lookups.rst` have been changed for instance to
allow the unchanged examples to be used for testing.
Related to: #17479
9 years ago
Andrew Dolby
cbbc643317
add default location and env override ( #16854 )
9 years ago
Chris Houseknecht
7964a2fca3
Upgrade to azure 2.0.0rc5 and add locations parameter.
10 years ago
André Cruz
1fdb7613f1
Fix whitespace.
10 years ago
André Cruz
18831c72f9
Use the python executable specified by the environment.
10 years ago
chouseknecht
af5e4abf66
Rename azure inventory script. Fix bug preventing AD user login via environment vars.
10 years ago