proper name for aks version facts (#54578)
This commit is contained in:
parent
7f57d88f00
commit
bce75824b1
2 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
|||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: azure_rm_aks_version
|
||||
module: azure_rm_aksversion_facts
|
||||
|
||||
version_added: "2.8"
|
||||
|
||||
|
@ -41,10 +41,10 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Get available versions for AKS in location eastus
|
||||
azure_rm_aks_version:
|
||||
azure_rm_aksversion_facts:
|
||||
location: eastus
|
||||
- name: Get available versions an AKS can be upgrade to
|
||||
azure_rm_aks_version:
|
||||
azure_rm_aksversion_facts:
|
||||
location: eastis
|
||||
version: 1.11.6
|
||||
'''
|
|
@ -2,7 +2,7 @@
|
|||
rpfx: "{{ resource_group | hash('md5') | truncate(8, True, '') }}"
|
||||
|
||||
- name: Find available k8s version
|
||||
azure_rm_aks_version:
|
||||
azure_rm_aksversion_facts:
|
||||
location: eastus
|
||||
register: versions
|
||||
|
||||
|
@ -100,7 +100,7 @@
|
|||
- not output.changed
|
||||
|
||||
- name: Get available version
|
||||
azure_rm_aks_version:
|
||||
azure_rm_aksversion_facts:
|
||||
location: eastus
|
||||
version: "{{ versions.azure_aks_versions[0] }}"
|
||||
register: version1
|
||||
|
|
Loading…
Reference in a new issue