Skip to content

Commit

Permalink
Revert "New Module: NetApp Account (ansible#59939)"
Browse files Browse the repository at this point in the history
This reverts commit 6a8dcb8.

Reverting this as it breaks CI for azure (more permissions would be
needed for our account)
  • Loading branch information
abadger committed Aug 29, 2019
1 parent f23bb6f commit 68fa031
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 239 deletions.
11 changes: 0 additions & 11 deletions lib/ansible/module_utils/azure_rm_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@
from msrestazure import AzureConfiguration
from msrest.authentication import Authentication
from azure.mgmt.resource.locks import ManagementLockClient
from azure.mgmt.netapp.azure_net_app_files_management_client import AzureNetAppFilesManagementClient
except ImportError as exc:
Authentication = object
HAS_AZURE_EXC = traceback.format_exc()
Expand Down Expand Up @@ -332,7 +331,6 @@ def __init__(self, derived_arg_spec, bypass_checks=False, no_log=False,
self._automation_client = None
self._IoThub_client = None
self._lock_client = None
self._netapp_client = None

self.check_mode = self.module.check_mode
self.api_profile = self.module.params.get('api_profile')
Expand Down Expand Up @@ -913,15 +911,6 @@ def dns_client(self):
api_version='2018-05-01')
return self._dns_client

@property
def netapp_client(self):
self.log('Getting netapp client')
if not self._netapp_client:
self._netapp_client = self.get_mgmt_svc_client(AzureNetAppFilesManagementClient,
base_url=self._cloud_environment.endpoints.resource_manager,
api_version='2018-05-01')
return self._netapp_client

@property
def dns_models(self):
self.log("Getting dns models...")
Expand Down
179 changes: 0 additions & 179 deletions lib/ansible/modules/cloud/azure/azure_rm_netapp_account.py

This file was deleted.

1 change: 0 additions & 1 deletion packaging/requirements/requirements-azure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ azure-mgmt-devtestlabs==3.0.0
azure-mgmt-loganalytics==0.2.0
azure-mgmt-automation==0.1.1
azure-mgmt-iothub==0.7.0
azure-mgmt-netapp ; python_version >= '2.7'
3 changes: 0 additions & 3 deletions test/integration/targets/azure_rm_netapp_account/aliases

This file was deleted.

This file was deleted.

39 changes: 0 additions & 39 deletions test/integration/targets/azure_rm_netapp_account/tasks/main.yml

This file was deleted.

3 changes: 0 additions & 3 deletions test/lib/ansible_test/_data/requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ lxml < 4.3.0 ; python_version < '2.7' # lxml 4.3.0 and later require python 2.7
pyvmomi < 6.0.0 ; python_version < '2.7' # pyvmomi 6.0.0 and later require python 2.7 or later
pyone == 1.1.9 # newer versions do not pass current integration tests
botocore >= 1.10.0 # adds support for the following AWS services: secretsmanager, fms, and acm-pca
azure-common >= 1.1.12 ; python_version >= '2.7'
azure-mgmt-nspkg >= 3.0.0 ; python_version >= '2.7'
azure-nspkg >= 3.0.0 ; python_version >= '2.7'

# freeze pylint and its requirements for consistent test results
astroid == 2.2.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ azure-mgmt-devtestlabs==3.0.0
azure-mgmt-loganalytics==0.2.0
azure-mgmt-automation==0.1.1
azure-mgmt-iothub==0.7.0
azure-mgmt-netapp ; python_version >= '2.7'

0 comments on commit 68fa031

Please sign in to comment.