Thomas Stringer
cb01f33d1e
refactor azure dynamic inventory script configparser import to support python3 ( #31370 )
...
* refactor configparser import to support python3
* change ModuleNotFoundError to ImportError
7 years ago
Matt Davis
12700f61e7
fixed incorrect endpoint selection in azure_rm.py
7 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.
7 years ago
Sam Doran
f35975f114
PEP8 fixes
7 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.
7 years ago
James Portman
950e4b6505
Added checks for machine.os_profile is not None before trying to access child attributes ( #22906 )
7 years ago
Matt Martz
d3249e7875
pep8 fixes for contrib ( #24344 )
8 years ago
Matt Davis
cbedc4a12a
azure_rm inventory version comparison fix ( #22341 )
8 years ago
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
8 years ago
Matt Clay
d913f69ba1
PEP 8 W291 whitespace cleanup.
8 years ago
Peter Hoffmann
d70b2c8afd
fix typo
8 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
8 years ago
Andrea Tartaglia
59227d8c31
Removed dict.iteritems() in several other files.
...
This is for py3 compatibility #18506
8 years ago
Matt Davis
6b02d296d7
fix azure_rm.py to work with 2.0.0rc5 or rc6
8 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
8 years ago
Andrew Dolby
cbbc643317
add default location and env override ( #16854 )
8 years ago
Chris Houseknecht
7964a2fca3
Upgrade to azure 2.0.0rc5 and add locations parameter.
8 years ago
André Cruz
1fdb7613f1
Fix whitespace.
9 years ago
André Cruz
18831c72f9
Use the python executable specified by the environment.
9 years ago
chouseknecht
af5e4abf66
Rename azure inventory script. Fix bug preventing AD user login via environment vars.
9 years ago