summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn R Barker <john@johnrbarker.com>2017-01-06 16:21:39 +0000
committerGitHub <noreply@github.com>2017-01-06 16:21:39 +0000
commit40ecc3188f535088718c7c40502bed0cd7f24ead (patch)
tree18325a1190bc57a3eba730d7889f9f2abe889ff0
parent818ef493ad80a5bf8411d409912e8f7f3affbfdb (diff)
downloadansible-40ecc3188f535088718c7c40502bed0cd7f24ead.tar.gz
Use M() to link to the replacement module. (#19976)
-rw-r--r--lib/ansible/modules/cloud/amazon/_ec2_ami_search.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_glance_image.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_keystone_user.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_nova_compute.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_nova_keypair.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_floating_ip.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_floating_ip_associate.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_network.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_router.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_router_interface.py2
-rw-r--r--lib/ansible/modules/cloud/openstack/_quantum_subnet.py2
-rw-r--r--lib/ansible/modules/network/ios/_ios_template.py2
-rw-r--r--lib/ansible/modules/network/iosxr/_iosxr_template.py2
-rw-r--r--lib/ansible/modules/network/junos/_junos_template.py2
-rw-r--r--lib/ansible/modules/network/nxos/_nxos_template.py2
-rw-r--r--lib/ansible/modules/network/openswitch/_ops_template.py2
-rw-r--r--lib/ansible/modules/utilities/helper/_accelerate.py2
18 files changed, 18 insertions, 18 deletions
diff --git a/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py b/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py
index 04c54db46a..7319773a3b 100644
--- a/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py
+++ b/lib/ansible/modules/cloud/amazon/_ec2_ami_search.py
@@ -25,7 +25,7 @@ DOCUMENTATION = '''
---
module: ec2_ami_search
short_description: Retrieve AWS AMI information for a given operating system.
-deprecated: "in favor of the ec2_ami_find module"
+deprecated: "Use M(ec2_ami_find) instead."
version_added: "1.6"
description:
- Look up the most recent AMI on AWS for a given operating system.
diff --git a/lib/ansible/modules/cloud/openstack/_glance_image.py b/lib/ansible/modules/cloud/openstack/_glance_image.py
index a97255241a..520814353f 100644
--- a/lib/ansible/modules/cloud/openstack/_glance_image.py
+++ b/lib/ansible/modules/cloud/openstack/_glance_image.py
@@ -24,7 +24,7 @@ DOCUMENTATION = '''
---
module: glance_image
version_added: "1.2"
-deprecated: Deprecated in 1.10. Use os_image instead
+deprecated: Deprecated in 1.10. Use M(os_image) instead.
short_description: Add/Delete images from glance
description:
- Add or Remove images from the glance repository.
diff --git a/lib/ansible/modules/cloud/openstack/_keystone_user.py b/lib/ansible/modules/cloud/openstack/_keystone_user.py
index 1d48e9e130..202adc63f6 100644
--- a/lib/ansible/modules/cloud/openstack/_keystone_user.py
+++ b/lib/ansible/modules/cloud/openstack/_keystone_user.py
@@ -25,7 +25,7 @@ DOCUMENTATION = '''
---
module: keystone_user
version_added: "1.2"
-deprecated: Deprecated in 2.0. Use os_user instead
+deprecated: Deprecated in 2.0. Use M(os_user) instead.
short_description: Manage OpenStack Identity (keystone) users, tenants and roles
description:
- Manage users,tenants, roles from OpenStack.
diff --git a/lib/ansible/modules/cloud/openstack/_nova_compute.py b/lib/ansible/modules/cloud/openstack/_nova_compute.py
index 0bea21048f..8edd611644 100644
--- a/lib/ansible/modules/cloud/openstack/_nova_compute.py
+++ b/lib/ansible/modules/cloud/openstack/_nova_compute.py
@@ -38,7 +38,7 @@ DOCUMENTATION = '''
---
module: nova_compute
version_added: "1.2"
-deprecated: Deprecated in 2.0. Use os_server instead
+deprecated: Deprecated in 2.0. Use M(os_server) instead.
short_description: Create/Delete VMs from OpenStack
description:
- Create or Remove virtual machines from Openstack.
diff --git a/lib/ansible/modules/cloud/openstack/_nova_keypair.py b/lib/ansible/modules/cloud/openstack/_nova_keypair.py
index 914db91bf2..9c21057311 100644
--- a/lib/ansible/modules/cloud/openstack/_nova_keypair.py
+++ b/lib/ansible/modules/cloud/openstack/_nova_keypair.py
@@ -36,7 +36,7 @@ version_added: "1.2"
author:
- "Benno Joy (@bennojoy)"
- "Michael DeHaan"
-deprecated: Deprecated in 2.0. Use os_keypair instead
+deprecated: Deprecated in 2.0. Use M(os_keypair) instead.
short_description: Add/Delete key pair from nova
description:
- Add or Remove key pair from nova .
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_floating_ip.py b/lib/ansible/modules/cloud/openstack/_quantum_floating_ip.py
index 9c72c431d0..6171a553ac 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_floating_ip.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_floating_ip.py
@@ -40,7 +40,7 @@ version_added: "1.2"
author:
- "Benno Joy (@bennojoy)"
- "Brad P. Crochet (@bcrochet)"
-deprecated: Deprecated in 2.0. Use os_floating_ip instead
+deprecated: Deprecated in 2.0. Use M(os_floating_ip) instead.
short_description: Add/Remove floating IP from an instance
description:
- Add or Remove a floating IP to an instance
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_floating_ip_associate.py b/lib/ansible/modules/cloud/openstack/_quantum_floating_ip_associate.py
index f7eed5fe86..55bf1c0b35 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_floating_ip_associate.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_floating_ip_associate.py
@@ -37,7 +37,7 @@ DOCUMENTATION = '''
module: quantum_floating_ip_associate
version_added: "1.2"
author: "Benno Joy (@bennojoy)"
-deprecated: Deprecated in 2.0. Use os_floating_ip instead
+deprecated: Deprecated in 2.0. Use M(os_floating_ip) instead.
short_description: Associate or disassociate a particular floating IP with an instance
description:
- Associates or disassociates a specific floating IP with a particular instance
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_network.py b/lib/ansible/modules/cloud/openstack/_quantum_network.py
index db82e90d33..9897d50aa4 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_network.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_network.py
@@ -34,7 +34,7 @@ DOCUMENTATION = '''
---
module: quantum_network
version_added: "1.4"
-deprecated: Deprecated in 2.0. Use os_network instead
+deprecated: Deprecated in 2.0. Use M(os_network) instead.
short_description: Creates/Removes networks from OpenStack
description:
- Add or Remove network from OpenStack.
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_router.py b/lib/ansible/modules/cloud/openstack/_quantum_router.py
index c65f916d6b..6726ca20a6 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_router.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_router.py
@@ -35,7 +35,7 @@ DOCUMENTATION = '''
module: quantum_router
version_added: "1.2"
author: "Benno Joy (@bennojoy)"
-deprecated: Deprecated in 2.0. Use os_router instead
+deprecated: Deprecated in 2.0. Use M(os_router) instead.
short_description: Create or Remove router from openstack
description:
- Create or Delete routers from OpenStack
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py b/lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py
index af6179bc62..6d0c715090 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py
@@ -35,7 +35,7 @@ DOCUMENTATION = '''
module: quantum_router_gateway
version_added: "1.2"
author: "Benno Joy (@bennojoy)"
-deprecated: Deprecated in 2.0. Use os_router instead
+deprecated: Deprecated in 2.0. Use M(os_router) instead.
short_description: set/unset a gateway interface for the router with the specified external network
description:
- Creates/Removes a gateway interface from the router, used to associate a external network with a router to route external traffic.
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_router_interface.py b/lib/ansible/modules/cloud/openstack/_quantum_router_interface.py
index b2a1784d99..09de7dd901 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_router_interface.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_router_interface.py
@@ -35,7 +35,7 @@ DOCUMENTATION = '''
module: quantum_router_interface
version_added: "1.2"
author: "Benno Joy (@bennojoy)"
-deprecated: Deprecated in 2.0. Use os_router instead
+deprecated: Deprecated in 2.0. Use M(os_router) instead.
short_description: Attach/Detach a subnet's interface to a router
description:
- Attach/Detach a subnet interface to a router, to provide a gateway for the subnet.
diff --git a/lib/ansible/modules/cloud/openstack/_quantum_subnet.py b/lib/ansible/modules/cloud/openstack/_quantum_subnet.py
index e03f596229..f59919a464 100644
--- a/lib/ansible/modules/cloud/openstack/_quantum_subnet.py
+++ b/lib/ansible/modules/cloud/openstack/_quantum_subnet.py
@@ -33,7 +33,7 @@ ANSIBLE_METADATA = {'status': ['deprecated'],
DOCUMENTATION = '''
---
module: quantum_subnet
-deprecated: Deprecated in 2.0. Use os_subnet instead
+deprecated: Deprecated in 2.0. Use M(os_subnet) instead.
version_added: "1.2"
short_description: Add/remove subnet from a network
description:
diff --git a/lib/ansible/modules/network/ios/_ios_template.py b/lib/ansible/modules/network/ios/_ios_template.py
index 62186320ca..f6ffb1fe3b 100644
--- a/lib/ansible/modules/network/ios/_ios_template.py
+++ b/lib/ansible/modules/network/ios/_ios_template.py
@@ -33,7 +33,7 @@ description:
by evaluating the current running-config and only pushing configuration
commands that are not already configured. The config source can
be a set of commands or a template.
-deprecated: Deprecated in 2.2. Use ios_config instead
+deprecated: Deprecated in 2.2. Use M(ios_config) instead.
extends_documentation_fragment: ios
options:
src:
diff --git a/lib/ansible/modules/network/iosxr/_iosxr_template.py b/lib/ansible/modules/network/iosxr/_iosxr_template.py
index 315e693c3f..70a37f228e 100644
--- a/lib/ansible/modules/network/iosxr/_iosxr_template.py
+++ b/lib/ansible/modules/network/iosxr/_iosxr_template.py
@@ -33,7 +33,7 @@ description:
by evaluating the current running-config and only pushing configuration
commands that are not already configured. The config source can
be a set of commands or a template.
-deprecated: Deprecated in 2.2. Use iosxr_config instead
+deprecated: Deprecated in 2.2. Use M(iosxr_config) instead.
extends_documentation_fragment: iosxr
options:
src:
diff --git a/lib/ansible/modules/network/junos/_junos_template.py b/lib/ansible/modules/network/junos/_junos_template.py
index bd0ecf371e..448eabe45d 100644
--- a/lib/ansible/modules/network/junos/_junos_template.py
+++ b/lib/ansible/modules/network/junos/_junos_template.py
@@ -32,7 +32,7 @@ description:
from a template file onto a remote device running Junos. The
module will return the differences in configuration if the diff
option is specified on the Ansible command line
-deprecated: Deprecated in 2.2. Use junos_config instead
+deprecated: Deprecated in 2.2. Use M(junos_config) instead.
extends_documentation_fragment: junos
options:
src:
diff --git a/lib/ansible/modules/network/nxos/_nxos_template.py b/lib/ansible/modules/network/nxos/_nxos_template.py
index a5b976aa4c..df0f96acc0 100644
--- a/lib/ansible/modules/network/nxos/_nxos_template.py
+++ b/lib/ansible/modules/network/nxos/_nxos_template.py
@@ -33,7 +33,7 @@ description:
by evaluating the current running-config and only pushing configuration
commands that are not already configured. The config source can
be a set of commands or a template.
-deprecated: Deprecated in 2.2. Use nxos_config instead
+deprecated: Deprecated in 2.2. Use M(nxos_config) instead.
extends_documentation_fragment: nxos
options:
src:
diff --git a/lib/ansible/modules/network/openswitch/_ops_template.py b/lib/ansible/modules/network/openswitch/_ops_template.py
index d3cb0e00d1..b6675980b9 100644
--- a/lib/ansible/modules/network/openswitch/_ops_template.py
+++ b/lib/ansible/modules/network/openswitch/_ops_template.py
@@ -33,7 +33,7 @@ description:
against a provided candidate configuration. If there are changes, the
candidate configuration is merged with the current configuration and
pushed into OpenSwitch
-deprecated: Deprecated in 2.2. Use ops_config instead
+deprecated: Deprecated in 2.2. Use M(ops_config) instead.
extends_documentation_fragment: openswitch
options:
src:
diff --git a/lib/ansible/modules/utilities/helper/_accelerate.py b/lib/ansible/modules/utilities/helper/_accelerate.py
index 5bd38931f2..ff14877a3d 100644
--- a/lib/ansible/modules/utilities/helper/_accelerate.py
+++ b/lib/ansible/modules/utilities/helper/_accelerate.py
@@ -26,7 +26,7 @@ DOCUMENTATION = '''
---
module: accelerate
short_description: Enable accelerated mode on remote node
-deprecated: "in favor of SSH with ControlPersist"
+deprecated: "Use SSH with ControlPersist instead."
description:
- This modules launches an ephemeral I(accelerate) daemon on the remote node which
Ansible can use to communicate with nodes at high speed.