Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option for disabling MSI autodiscover feature in azure_keyvault_secret lookup plugin #956

Closed
wants to merge 82 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
03c9468
Added option for disabling MSI autodiscover feature
cdc-rickarderiksson Aug 19, 2022
9124140
Fixed Failed to clear CND endpoint (#1154)
Fred-sun May 31, 2023
8016f23
Add the method parameter to specify how http gets information (#1158)
Fred-sun May 31, 2023
87960f1
Added azure cli credential support in the azure_keyvault_secret.py pl…
Fred-sun May 31, 2023
8353100
update container registry dependency to resolve sdk issue (#1169)
l3ender May 31, 2023
a4648e3
Bump verison to v1.16.0 (#1172)
Fred-sun Jun 5, 2023
92d5a20
format
Jun 5, 2023
1b3593a
fix version_added (#1180)
akira6592 Jun 6, 2023
8168112
CI base version v2.14.0 (#1182)
xuzhang3 Jun 6, 2023
3c2337c
fix doc link (#1189)
akira6592 Jun 14, 2023
309d303
Keep action_groups and modules list consistent (#1188)
akira6592 Jun 14, 2023
ef944d9
azure_rm_virtualmachine: better support for User Assigned and System …
cpiment Jun 15, 2023
0ecd5e1
Add option to force poweroff for VM (#1186)
Klaas- Jun 26, 2023
777edd2
Fix an error when client_id and secret are empty in credentials (#1185)
Fred-sun Jun 26, 2023
5916552
source_account_id should be storage_account_id (#1187)
fargburger Jun 27, 2023
94de0b4
Update azure keyvault to 4.2.0 (#1198)
Fred-sun Jun 30, 2023
3bc0225
Fix setting of encryption at host for VMs (#1207)
Klaas- Jul 6, 2023
76f4efd
Refs #1033 fix security profile for azure_rm_virtualmachine_info (#1205)
Klaas- Jul 7, 2023
b1f8fd3
allow to set boot diagnostics storage account to managed (#1206)
Klaas- Jul 14, 2023
b5bcf1d
Add creation timestamp to hostvars (#1221)
Rickmarges Jul 24, 2023
76c1cf2
Improve Docs In `azure_rm_virtualnetwork` (#1203)
timway Jul 24, 2023
31ce3f7
Add new parameters to storageshare (#1216)
Fred-sun Jul 24, 2023
d58755f
Add an example on how to add a domain to hostname for dynamic invento…
Klaas- Jul 25, 2023
de541f4
fix typo update_security_profle (#1194)
cpiment Jul 26, 2023
5df571f
Fix `azure_rm_backupazurevm` - Get module defined `subscrtion_id` (…
xuzhang3 Aug 1, 2023
86e0f07
Migrate ADAL to MSAL (#1239)
Fred-sun Aug 11, 2023
8c5a4f2
Bump cryptography from 38.0.3 to 39.0.1 (#1076)
dependabot[bot] Aug 16, 2023
ae60dea
Bump cryptography from 39.0.1 to 41.0.3 (#1244)
dependabot[bot] Aug 16, 2023
f8b7f0d
Upgrade azure mgmt batch 17.0.0 (#1202)
Fred-sun Aug 16, 2023
7ac2681
Fix azure_rm_aks_info.py to list all manged cluster bug (#1229)
Fred-sun Aug 22, 2023
89cbfd9
removed subscription_id from azure_keyvault_secret lookup when using …
msl0 Aug 22, 2023
5d8ab4e
Bump version to v1.17.0 (#1247)
Fred-sun Aug 23, 2023
3647630
Fix typo (#1254)
rndmh3ro Sep 20, 2023
af76d0d
Migrate msrest to azure-core (#1245)
Fred-sun Sep 21, 2023
2d0c77e
Lazy initialize the AD resource credentials (#1268)
xuzhang3 Sep 22, 2023
791f871
changelog v1.18.0 (#1269)
xuzhang3 Sep 22, 2023
37c5e8f
Bump cryptography from 41.0.3 to 41.0.4 (#1265)
dependabot[bot] Sep 22, 2023
be233cb
Fix azure_object.type to equal Microsoft.Management/managementGroups.…
kmj251 Sep 22, 2023
cd76878
Change ansible default version from 2.14 to 2.15 (#1272)
Fred-sun Sep 25, 2023
84f7e0a
init trunk1 credentials (#1271)
xuzhang3 Sep 25, 2023
5b058c2
v1.18.1 changelog (#1273)
xuzhang3 Sep 25, 2023
68e90fb
Update all test case, change ubuntu version to 20.04-LTS (#1288)
Fred-sun Oct 17, 2023
489c0ec
Migrate msrestazure to azure-mgmt-core and azure-identity (#1267)
Fred-sun Oct 19, 2023
ef5acf8
Add authority to create track2 credentials (#1299)
Fred-sun Oct 25, 2023
52ff65c
Restore azure_rm_virtualmachine change (#1301)
Fred-sun Oct 30, 2023
c5dedcd
Update azurefirewall info returns (#1308)
Fred-sun Nov 1, 2023
17460b0
Fixed sanity errors in the module (#1296)
Fred-sun Nov 1, 2023
b41ccc2
Support ansible-lint test to ansible-collections (#1292)
Fred-sun Nov 1, 2023
004d279
Add required description to document (#1314)
Fred-sun Nov 2, 2023
9530096
Delete unnecessary required sets (#1319)
Fred-sun Nov 6, 2023
6f340eb
Disable azure_rm_iothub.py test (#1320)
Fred-sun Nov 6, 2023
6b20793
Bump version to v1.19.0 (#1317)
Fred-sun Nov 6, 2023
3686cbc
Ansible "is match" does not need a ^ (#1321)
Fred-sun Nov 8, 2023
96e9ba6
Add auth_mode to azure_rm_storageblob (#1315)
ephracis Nov 8, 2023
7aeb933
Fix caching choices (#1324)
Fred-sun Nov 8, 2023
ecf0c86
Add encryption to azure_rm_galleryimageversion (#1311)
ephracis Nov 9, 2023
573599e
Add features to azure_rm_galleryimage (#1310)
ephracis Nov 9, 2023
a20cda3
Add ansible-core v2.16 (#1305)
xuzhang3 Nov 9, 2023
b4c158c
bump APIM api version to 2022-08-01 (#1327)
xuzhang3 Nov 10, 2023
fda2762
add hasattr method to verify return value (#1307)
Fred-sun Nov 10, 2023
21f6e15
Migrate ADGraph to MSGraph (#1325)
xuzhang3 Nov 13, 2023
e4a8054
`azure_rm_virtualmachinescaleset` - `orchestration_mode` defaults to …
xuzhang3 Nov 14, 2023
ee30130
Add vm_agent_version to output of azure_rm_virtualmachine_info (#1289)
Klaas- Nov 14, 2023
160466c
Add os_disk_encryption_set to azure_rm_virtualmachine (#1306)
ephracis Nov 14, 2023
2158040
Add disk_encryption_set for data disks in azure_rm_virtualmachine (#1…
ephracis Nov 14, 2023
16d7245
update PR pipeline timeout (#1334)
xuzhang3 Nov 14, 2023
288a2dc
Move azure_service_principal_attribute.py to azure-collecitons lookup…
Fred-sun Nov 15, 2023
70cf52d
Delete trunck1 process (#1335)
Fred-sun Nov 16, 2023
4a4a54a
Bump version to v2.0.0 (#1336)
Fred-sun Nov 17, 2023
26aae60
Add azure_rm_accesstoken_info module (#1318)
puiterwijk Nov 21, 2023
9c8b4a9
Fix getting alias parameters fail on azure_rm_iotdevice.py (#1278)
Fred-sun Nov 21, 2023
f004291
[New module] - Add openshiftmanagedclusterkubeconfig_info module (#1238)
MaxBab Nov 22, 2023
e21da37
Support to update proximity_placement_group parameters (#1329)
Fred-sun Nov 22, 2023
c7244a9
Fix the az login login to obtain the token error (#1340)
Fred-sun Nov 23, 2023
42cee7e
remove unnecessary headers (#1345)
xuzhang3 Nov 23, 2023
2272981
Support azure_rm_sshpublickey module to managed VM public keys (#1190)
Fred-sun Nov 23, 2023
e2cfe8f
Support unmount disk to VMs that not belong to the same resource grou…
Fred-sun Nov 24, 2023
35dcbf2
Add large_file_shares_state to azure_rm_storageaccount (#1210)
Fred-sun Nov 24, 2023
18c43f0
Update azure_rm_resource.py (#1341)
tomaxsas Nov 24, 2023
0d1a454
Fix azure_rm_deployment deletes the whole resource group in state abs…
Fred-sun Nov 24, 2023
196ec96
update module documentation to handle merge conflict
nalle Dec 1, 2023
3a4860b
Merge branch 'performance_improvement_disable_msi_autodiscover' of ht…
nalle Dec 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ venv*
.vscode
ansible_collections/
.idea/
tests/integration/inventory
180 changes: 180 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ansible collection for Azure
[![Doc](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#azure)
[![Doc](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://docs.ansible.com/ansible/latest/collections/azure/azcollection/index.html)
[![Code of conduct](https://img.shields.io/badge/code%20of%20conduct-Ansible-silver.svg)](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html)
[![License](https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg)](LICENSE)

Expand Down Expand Up @@ -50,7 +50,7 @@ To use a module from Azure collection, please reference the full namespace, coll
account_type: Standard_LRS
```

Or you can add full namepsace and collection name in the `collections` element:
Or you can add full namespace and collection name in the `collections` element:

```yaml
---
Expand Down
73 changes: 35 additions & 38 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,41 @@ trigger:
batch: true
branches:
include:
- "*"
- "*"

jobs:
- job: CG
pool:
name: pool-ubuntu-2004
- job: CG
pool:
name: pool-ubuntu-2004

steps:
- task: ComponentGovernanceComponentDetection@0
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'Medium'
failOnAlert: true

- job: CredScan
pool:
vmImage: "windows-2019"

steps:
- task: ea576cd4-c61f-48f8-97e7-a3cb07b90a6f@2
inputs:
toolMajorVersion: 'V2'
suppressionsFile: 'CredScanSuppressions.json'

- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
inputs:
AllTools: false
APIScan: false
BinSkim: false
CodesignValidation: false
CredScan: true
FortifySCA: false
FxCop: false
ModernCop: false
PoliCheck: false
RoslynAnalyzers: false
SDLNativeRules: false
Semmle: false
TSLint: false
ToolLogsNotFoundAction: 'Standard'
steps:
- task: ComponentGovernanceComponentDetection@0
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'Medium'
failOnAlert: true
- job: CredScan
pool:
vmImage: "windows-2019"
steps:
- task: ea576cd4-c61f-48f8-97e7-a3cb07b90a6f@2
inputs:
toolMajorVersion: 'V2'
suppressionsFile: 'CredScanSuppressions.json'
- task: securedevelopmentteam.vss-secure-development-tools.build-task-postanalysis.PostAnalysis@1
inputs:
AllTools: false
APIScan: false
BinSkim: false
CodesignValidation: false
CredScan: true
FortifySCA: false
FxCop: false
ModernCop: false
PoliCheck: false
RoslynAnalyzers: false
SDLNativeRules: false
Semmle: false
TSLint: false
ToolLogsNotFoundAction: 'Standard'
36 changes: 18 additions & 18 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ namespace: azure
name: azcollection

# The version of the collection. Must be compatible with semantic versioning
version: 1.15.0
version: 2.0.0

# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md

# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
# @nicks:irc/im.site#channel'
authors:
- Microsoft <ansible@microsoft.com>
- Microsoft <ansible@microsoft.com>


### OPTIONAL but strongly recommended
Expand All @@ -28,34 +28,34 @@ description: The Azure collection.
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
license:
- GPL-2.0-or-later
- GPL-2.0-or-later

# The path to the license file for the collection. This path is relative to the root of the collection. This key is
# mutually exclusive with 'license'
license_file:
# license_file:

# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
# requirements as 'namespace' and 'name'
tags:
- cloud
- linux
- networking
- storage
- security
- database
- application
- cloud
- linux
- networking
- storage
- security
- database
- application

# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
# collection label 'namespace.name'. The value is a version range
# L(specifiers,https://python-semanticversion.readthedocs.io/en/latest/#requirement-specification). Multiple version
# range specifiers can be set and are separated by ','
#dependencies: {}
# dependencies: {}

# The URL of the originating SCM repository
repository: https://github.com/ansible-collections/azure

# The URL to any online docs
#documentation: http://docs.example.com
# documentation: http://docs.example.com

# The URL to the homepage of the collection/project
homepage: https://azure.microsoft.com
Expand All @@ -64,8 +64,8 @@ homepage: https://azure.microsoft.com
issues: https://github.com/ansible-collections/azure/issues

build_ignore:
- 'azure-azcollection-*.tar.gz'
- 'venv*'
- '.vscode'
- 'ansible_collections'
- 'ansible.cfg'
- 'azure-azcollection-*.tar.gz'
- 'venv*'
- '.vscode'
- 'ansible_collections'
- 'ansible.cfg'
Loading