Repository: ansible/ansible-modules-extras

Issue:
redundant modudle doc keys in netapp_e_lun_mapping and netapp_e_auth
<!--- Verify first that your issue/request is not already reported in GitHub -->
##### ISSUE TYPE

<!--- Pick one below and delete the rest: -->
- Bug Report
##### COMPONENT NAME

<!--- Name of the plugin/module/task -->

storage/netapp/netapp_e_lun_mapping
storage/netapp/netapp_e_auth
##### ANSIBLE VERSION

<!--- Paste verbatim output from “ansible --version” between quotes below -->

```
ansible 2.2.0 (devel 6247e7bc38) last updated 2016/09/19 10:25:23 (GMT -400)
  lib/ansible/modules/core: (detached HEAD 488f082761) last updated 2016/09/16 19:38:36 (GMT -400)
  lib/ansible/modules/extras: (detached HEAD 24da3602c6) last updated 2016/09/16 19:38:37 (GMT -400)
  config file = /home/adrian/.ansible.cfg
  configured module search path = ['/home/adrian/src/ansible-modules-core', '/home/adrian/src/ansible-modules-extras']


```
##### OS / ENVIRONMENT

fedora23 x86_64
##### SUMMARY

<!--- Explain the problem briefly -->

The module docs had redundant keys, causing warnings like:

```
 [WARNING]: While constructing a mapping from /home/adrian/src/ansible-modules-core/network/junos/junos_config.py, line 88, column 5, found a duplicate dict key (required). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/adrian/src/ansible-modules-extras/storage/netapp/netapp_e_auth.py, line 10, column 5, found a duplicate dict key (api_url). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/adrian/src/ansible-modules-extras/storage/netapp/netapp_e_auth.py, line 10, column 5, found a duplicate dict key (api_username). Using last defined value only.

 [WARNING]: While constructing a mapping from /home/adrian/src/ansible-modules-extras/storage/netapp/netapp_e_auth.py, line 10, column 5, found a duplicate dict key (api_password). Using last defined value only.
```
##### STEPS TO REPRODUCE

<!---
For bugs, show exactly how to reproduce the problem.
For new features, show how the feature would be used.
-->

<!--- Paste example playbooks or commands between quotes below -->

```
ansible-doc -l
```

<!--- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS

<!--- What did you expect to happen when running the steps above? -->

no warnings
##### ACTUAL RESULTS

<!--- What actually happened? If possible run with high verbosity (-vvvv) -->

warnings



Discussion:

Resolving patch:
diff --git a/storage/netapp/netapp_e_auth.py b/storage/netapp/netapp_e_auth.py
--- a/storage/netapp/netapp_e_auth.py
+++ b/storage/netapp/netapp_e_auth.py
@@ -26,20 +26,6 @@
 version_added: "2.2"
 author: Kevin Hulquest (@hulquest)
 options:
-    api_username:
-        required: true
-        description:
-        - The username to authenticate with the SANtricity WebServices Proxy or embedded REST API.
-    api_password:
-        required: true
-        description:
-        - The password to authenticate with the SANtricity WebServices Proxy or embedded REST API.
-    api_url:
-        required: true
-        description:
-        - The url to the SANtricity WebServices Proxy or embedded REST API.
-        example:
-        - https://prod-1.wahoo.acme.com/devmgr/v2
     validate_certs:
         required: false
         default: true
diff --git a/storage/netapp/netapp_e_lun_mapping.py b/storage/netapp/netapp_e_lun_mapping.py
--- a/storage/netapp/netapp_e_lun_mapping.py
+++ b/storage/netapp/netapp_e_lun_mapping.py
@@ -27,20 +27,6 @@
      - Allows for the creation and removal of volume to host mappings for NetApp E-series storage arrays.
 version_added: "2.2"
 options:
-  api_username:
-      required: true
-      description:
-      - The username to authenticate with the SANtricity WebServices Proxy or embedded REST API.
-  api_password:
-      required: true
-      description:
-      - The password to authenticate with the SANtricity WebServices Proxy or embedded REST API.
-  api_url:
-      required: true
-      description:
-      - The url to the SANtricity WebServices Proxy or embedded REST API.
-      example:
-      - https://prod-1.wahoo.acme.com/devmgr/v2
   validate_certs:
       required: false
       default: true


Test patch: