proper name for aks version facts (#54578)

This commit is contained in:
Zim Kalinowski 2019-03-29 16:56:40 +08:00 committed by GitHub
parent 7f57d88f00
commit bce75824b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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
'''

View file

@ -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