summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsmile37773 <34502364+smile37773@users.noreply.github.com>2019-08-28 19:01:10 +0800
committerZim Kalinowski <zikalino@microsoft.com>2019-08-28 19:01:10 +0800
commit161c1ce17e251c0c51482a28a87dcf7b8ea762a8 (patch)
tree53f7fa1fe5749d6e3f88b985121533b3e2ab90c4 /test
parenta6f6256a0a2f886262ff92c3b789abb0bac73d74 (diff)
downloadansible-161c1ce17e251c0c51482a28a87dcf7b8ea762a8.tar.gz
Rename Azure modules: "facts"->"info" (#61417)
* rename * add symlink * add the log * fix the ignore file * fix * fix
Diffstat (limited to 'test')
-rw-r--r--test/integration/targets/azure_rm_cdnprofile/aliases2
-rw-r--r--test/integration/targets/azure_rm_cdnprofile/tasks/main.yml10
-rw-r--r--test/integration/targets/azure_rm_containerinstance/aliases2
-rw-r--r--test/integration/targets/azure_rm_containerinstance/tasks/main.yml4
-rw-r--r--test/integration/targets/azure_rm_containerregistry/aliases2
-rw-r--r--test/integration/targets/azure_rm_containerregistry/tasks/main.yml4
-rw-r--r--test/integration/targets/azure_rm_cosmosdbaccount/aliases2
-rw-r--r--test/integration/targets/azure_rm_cosmosdbaccount/tasks/main.yml8
-rw-r--r--test/integration/targets/azure_rm_deployment/tasks/main.yml2
-rw-r--r--test/sanity/ignore.txt18
10 files changed, 24 insertions, 30 deletions
diff --git a/test/integration/targets/azure_rm_cdnprofile/aliases b/test/integration/targets/azure_rm_cdnprofile/aliases
index f5c7265cda..ea347fa407 100644
--- a/test/integration/targets/azure_rm_cdnprofile/aliases
+++ b/test/integration/targets/azure_rm_cdnprofile/aliases
@@ -1,5 +1,5 @@
cloud/azure
shippable/azure/group2
destructive
-azure_rm_cdnprofile_facts
+azure_rm_cdnprofile_info
azure_rm_cdnendpoint
diff --git a/test/integration/targets/azure_rm_cdnprofile/tasks/main.yml b/test/integration/targets/azure_rm_cdnprofile/tasks/main.yml
index 69550d9e2d..657881a507 100644
--- a/test/integration/targets/azure_rm_cdnprofile/tasks/main.yml
+++ b/test/integration/targets/azure_rm_cdnprofile/tasks/main.yml
@@ -17,7 +17,7 @@
check_mode: yes
- name: Check there is no CDN profile created
- azure_rm_cdnprofile_facts:
+ azure_rm_cdnprofile_info:
resource_group: "{{ resource_group }}"
name: "{{ cdnprofilename }}"
register: fact
@@ -43,7 +43,7 @@
- output.id != ''
- name: Gather CDN profile facts
- azure_rm_cdnprofile_facts:
+ azure_rm_cdnprofile_info:
resource_group: "{{ resource_group }}"
name: "{{ cdnprofilename }}"
register: fact
@@ -96,7 +96,7 @@
check_mode: yes
- name: Gather CDN profile facts
- azure_rm_cdnprofile_facts:
+ azure_rm_cdnprofile_info:
resource_group: "{{ resource_group }}"
name: "{{ cdnprofilename }}"
register: fact
@@ -144,7 +144,7 @@
- output.id
- name: Get facts of a Azure CDN endpoint
- azure_rm_cdnendpoint_facts:
+ azure_rm_cdnendpoint_info:
resource_group: "{{ resource_group }}"
name: "{{ endpointname }}"
profile_name: "{{ cdnprofilename }}"
@@ -265,7 +265,7 @@
- output.changed
- name: Get CDN profile fact
- azure_rm_cdnprofile_facts:
+ azure_rm_cdnprofile_info:
resource_group: "{{ resource_group }}"
name: "{{ cdnprofilename }}"
register: fact
diff --git a/test/integration/targets/azure_rm_containerinstance/aliases b/test/integration/targets/azure_rm_containerinstance/aliases
index 11625e8b1b..93066dcc2d 100644
--- a/test/integration/targets/azure_rm_containerinstance/aliases
+++ b/test/integration/targets/azure_rm_containerinstance/aliases
@@ -1,4 +1,4 @@
cloud/azure
destructive
shippable/azure/group2
-azure_rm_containerinstance_facts
+azure_rm_containerinstance_info
diff --git a/test/integration/targets/azure_rm_containerinstance/tasks/main.yml b/test/integration/targets/azure_rm_containerinstance/tasks/main.yml
index 13ce1a7a7b..a76e387a30 100644
--- a/test/integration/targets/azure_rm_containerinstance/tasks/main.yml
+++ b/test/integration/targets/azure_rm_containerinstance/tasks/main.yml
@@ -100,7 +100,7 @@
register: output
- name: Gather facts for single Container Instance
- azure_rm_containerinstance_facts:
+ azure_rm_containerinstance_info:
resource_group: "{{ resource_group }}"
name: "aci{{ resource_group | hash('md5') | truncate(7, True, '') }}sec"
register: output
@@ -124,7 +124,7 @@
- output.containerinstances[0]['restart_policy'] == 'on_failure'
- name: Gather facts for all Container Instances in the resource group
- azure_rm_containerinstance_facts:
+ azure_rm_containerinstance_info:
resource_group: "{{ resource_group }}"
register: output
diff --git a/test/integration/targets/azure_rm_containerregistry/aliases b/test/integration/targets/azure_rm_containerregistry/aliases
index 394d641e44..2615d3fe02 100644
--- a/test/integration/targets/azure_rm_containerregistry/aliases
+++ b/test/integration/targets/azure_rm_containerregistry/aliases
@@ -1,4 +1,4 @@
cloud/azure
shippable/azure/group2
destructive
-azure_rm_containerregistry_facts
+azure_rm_containerregistry_info
diff --git a/test/integration/targets/azure_rm_containerregistry/tasks/main.yml b/test/integration/targets/azure_rm_containerregistry/tasks/main.yml
index 92a5fcc686..7c83c5c5da 100644
--- a/test/integration/targets/azure_rm_containerregistry/tasks/main.yml
+++ b/test/integration/targets/azure_rm_containerregistry/tasks/main.yml
@@ -59,7 +59,7 @@
- output.credentials['password2'] is not defined
- name: Gather facts for single Container Registry
- azure_rm_containerregistry_facts:
+ azure_rm_containerregistry_info:
resource_group: "{{ resource_group }}"
name: "acr{{ resource_group | hash('md5') | truncate(7, True, '') }}"
register: output
@@ -78,7 +78,7 @@
- output.registries[0]['credentials'] != None
- name: Gather facts for all Container Registries in the resource group
- azure_rm_containerregistry_facts:
+ azure_rm_containerregistry_info:
resource_group: "{{ resource_group }}"
register: output
diff --git a/test/integration/targets/azure_rm_cosmosdbaccount/aliases b/test/integration/targets/azure_rm_cosmosdbaccount/aliases
index 4d64b78207..8a081bd43e 100644
--- a/test/integration/targets/azure_rm_cosmosdbaccount/aliases
+++ b/test/integration/targets/azure_rm_cosmosdbaccount/aliases
@@ -1,4 +1,4 @@
cloud/azure
destructive
shippable/azure/group1
-azure_rm_cosmosdbaccount_facts
+azure_rm_cosmosdbaccount_info
diff --git a/test/integration/targets/azure_rm_cosmosdbaccount/tasks/main.yml b/test/integration/targets/azure_rm_cosmosdbaccount/tasks/main.yml
index cebf4e80fd..f50aa47c55 100644
--- a/test/integration/targets/azure_rm_cosmosdbaccount/tasks/main.yml
+++ b/test/integration/targets/azure_rm_cosmosdbaccount/tasks/main.yml
@@ -116,7 +116,7 @@
- output.changed
- name: Get facts of single account
- azure_rm_cosmosdbaccount_facts:
+ azure_rm_cosmosdbaccount_info:
resource_group: "{{ resource_group }}"
name: "{{ dbname }}"
register: output
@@ -148,7 +148,7 @@
- output.accounts[0]['tags'] != None
- name: Get facts with keys
- azure_rm_cosmosdbaccount_facts:
+ azure_rm_cosmosdbaccount_info:
resource_group: "{{ resource_group }}"
name: "{{ dbname }}"
retrieve_keys: all
@@ -164,7 +164,7 @@
- output.accounts[0]['secondary_readonly_master_key'] != None
- name: Get facts with readonly keys
- azure_rm_cosmosdbaccount_facts:
+ azure_rm_cosmosdbaccount_info:
resource_group: "{{ resource_group }}"
name: "{{ dbname }}"
retrieve_keys: readonly
@@ -182,7 +182,7 @@
- output.accounts[0]['connection_strings'] | length > 0
- name: List acounts by resource group
- azure_rm_cosmosdbaccount_facts:
+ azure_rm_cosmosdbaccount_info:
resource_group: "{{ resource_group }}"
name: "{{ dbname }}"
register: output
diff --git a/test/integration/targets/azure_rm_deployment/tasks/main.yml b/test/integration/targets/azure_rm_deployment/tasks/main.yml
index e24b1472f0..fb3d195151 100644
--- a/test/integration/targets/azure_rm_deployment/tasks/main.yml
+++ b/test/integration/targets/azure_rm_deployment/tasks/main.yml
@@ -29,7 +29,7 @@
with_items: "{{ output.deployment.instances }}"
- name: Get Deployment Facts
- azure_rm_deployment_facts:
+ azure_rm_deployment_info:
resource_group: "{{ resource_group }}"
name: "{{ dns_label }}"
register: output
diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt
index 3aa414e6cf..21f707c06e 100644
--- a/test/sanity/ignore.txt
+++ b/test/sanity/ignore.txt
@@ -1092,43 +1092,37 @@ lib/ansible/modules/cloud/azure/azure_rm_aks.py validate-modules:E324
lib/ansible/modules/cloud/azure/azure_rm_aks.py validate-modules:E326
lib/ansible/modules/cloud/azure/azure_rm_aks.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_aks_info.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_aks_info.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_aksversion_info.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_aksversion_info.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_appgateway.py validate-modules:E326
lib/ansible/modules/cloud/azure/azure_rm_appgateway.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup_info.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_applicationsecuritygroup_info.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_appserviceplan.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_appserviceplan_info.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_appserviceplan_info.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_autoscale.py validate-modules:E322
lib/ansible/modules/cloud/azure/azure_rm_autoscale.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_autoscale_info.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_autoscale_info.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_availabilityset.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_availabilityset_info.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_availabilityset_info.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_azurefirewall.py validate-modules:E322
lib/ansible/modules/cloud/azure/azure_rm_azurefirewall.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_azurefirewall.py validate-modules:E340
lib/ansible/modules/cloud/azure/azure_rm_batchaccount.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint_facts.py validate-modules:E337
+lib/ansible/modules/cloud/azure/azure_rm_cdnendpoint_info.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_cdnprofile.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_cdnprofile_facts.py validate-modules:E337
+lib/ansible/modules/cloud/azure/azure_rm_cdnprofile_info.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py validate-modules:E325
lib/ansible/modules/cloud/azure/azure_rm_containerinstance.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_containerinstance_facts.py validate-modules:E337
+lib/ansible/modules/cloud/azure/azure_rm_containerinstance_info.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_containerregistry.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_containerregistry_facts.py validate-modules:E337
+lib/ansible/modules/cloud/azure/azure_rm_containerregistry_info.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py validate-modules:E322
lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py validate-modules:E323
lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount_facts.py validate-modules:E337
+lib/ansible/modules/cloud/azure/azure_rm_cosmosdbaccount_info.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_deployment.py validate-modules:E337
-lib/ansible/modules/cloud/azure/azure_rm_deployment_facts.py validate-modules:E337
+lib/ansible/modules/cloud/azure/azure_rm_deployment_info.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_devtestlab.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_devtestlab_facts.py validate-modules:E337
lib/ansible/modules/cloud/azure/azure_rm_devtestlabarmtemplate_facts.py validate-modules:E337