From c3ecf5a0bf0187c3f35fe7c0a3c9242abb30b275 Mon Sep 17 00:00:00 2001 From: Siva Popuri Date: Fri, 23 Oct 2015 09:34:58 -0500 Subject: [PATCH] added author to module doc string. --- .../extras/cloud/centurylink/clc_aa_policy.py | 1 + .../cloud/centurylink/clc_alert_policy.py | 1 + .../centurylink/clc_blueprint_package.py | 1 + .../cloud/centurylink/clc_firewall_policy.py | 1 + .../extras/cloud/centurylink/clc_group.py | 1 + .../cloud/centurylink/clc_loadbalancer.py | 29 ++++++++++--------- .../cloud/centurylink/clc_modify_server.py | 1 + .../extras/cloud/centurylink/clc_publicip.py | 1 + .../extras/cloud/centurylink/clc_server.py | 1 + .../cloud/centurylink/clc_server_snapshot.py | 1 + 10 files changed, 24 insertions(+), 14 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py b/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py index 8f4567ea1a..7596651181 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py @@ -50,6 +50,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py b/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py index c539bb0f06..c096c40ca4 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py @@ -76,6 +76,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py b/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py index f39d8c03c7..2b0a9774b6 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py @@ -55,6 +55,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py b/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py index 83d75cbdfc..5f208bfa66 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py @@ -85,6 +85,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_group.py b/lib/ansible/modules/extras/cloud/centurylink/clc_group.py index a930603d24..bc8247a41e 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_group.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_group.py @@ -58,6 +58,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py b/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py index 076146c5c8..7771a7ea36 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py @@ -78,6 +78,21 @@ options: required: False default: present choices: ['present', 'absent', 'port_absent', 'nodes_present', 'nodes_absent'] +requirements: + - python = 2.7 + - requests >= 2.5.0 + - clc-sdk +author: "CLC Runner (@clc-runner)" +notes: + - To use this module, it is required to set the below environment variables which enables access to the + Centurylink Cloud + - CLC_V2_API_USERNAME, the account login id for the centurylink cloud + - CLC_V2_API_PASSWORD, the account password for the centurylink cloud + - Alternatively, the module accepts the API token and account alias. The API token can be generated using the + CLC account login and password via the HTTP api call @ https://api.ctl.io/v2/authentication/login + - CLC_V2_API_TOKEN, the API token generated from https://api.ctl.io/v2/authentication/login + - CLC_ACCT_ALIAS, the account alias associated with the centurylink cloud + - Users can set CLC_V2_API_URL to specify an endpoint for pointing to a different CLC environment. ''' EXAMPLES = ''' @@ -156,20 +171,6 @@ EXAMPLES = ''' nodes: - { 'ipAddress': '10.11.22.123', 'privatePort': 80 } state: absent -requirements: - - python = 2.7 - - requests >= 2.5.0 - - clc-sdk -notes: - - To use this module, it is required to set the below environment variables which enables access to the - Centurylink Cloud - - CLC_V2_API_USERNAME, the account login id for the centurylink cloud - - CLC_V2_API_PASSWORD, the account password for the centurylink cloud - - Alternatively, the module accepts the API token and account alias. The API token can be generated using the - CLC account login and password via the HTTP api call @ https://api.ctl.io/v2/authentication/login - - CLC_V2_API_TOKEN, the API token generated from https://api.ctl.io/v2/authentication/login - - CLC_ACCT_ALIAS, the account alias associated with the centurylink cloud - - Users can set CLC_V2_API_URL to specify an endpoint for pointing to a different CLC environment. ''' RETURN = ''' diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py b/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py index 9683f6835d..a7ccbaefc4 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py @@ -80,6 +80,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py b/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py index ed20eba152..cfb09b3f69 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py @@ -58,6 +58,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_server.py b/lib/ansible/modules/extras/cloud/centurylink/clc_server.py index 3202f1065f..42cd70ae8e 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_server.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_server.py @@ -228,6 +228,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py b/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py index 603d03eac1..6d6963e209 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py @@ -51,6 +51,7 @@ requirements: - python = 2.7 - requests >= 2.5.0 - clc-sdk +author: "CLC Runner (@clc-runner)" notes: - To use this module, it is required to set the below environment variables which enables access to the Centurylink Cloud