summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-04-22 00:15:16 -0700
committerMatt Clay <matt@mystile.com>2018-04-23 11:33:56 -0700
commitc262dbfd308d2d98de078d82465982a0fbd60dc9 (patch)
tree415efc1357632d175ecd30c1df347f92bab9c430 /lib
parent0d1e9bfe90a2077ee0a07c649a9b4aa833f834a6 (diff)
downloadansible-c262dbfd308d2d98de078d82465982a0fbd60dc9.tar.gz
Use https for links to ansible.com domains.
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/cli/vault.py2
-rw-r--r--lib/ansible/module_utils/connection.py2
-rw-r--r--lib/ansible/modules/cloud/amazon/GUIDELINES.md8
-rw-r--r--lib/ansible/modules/cloud/ovirt/README.rst2
-rw-r--r--lib/ansible/modules/net_tools/basics/get_url.py2
-rw-r--r--lib/ansible/modules/notification/pushbullet.py2
-rw-r--r--lib/ansible/modules/system/user.py2
-rw-r--r--lib/ansible/modules/utilities/logic/async_status.py2
-rw-r--r--lib/ansible/playbook/task.py2
-rw-r--r--lib/ansible/plugins/action/junos.py4
10 files changed, 14 insertions, 14 deletions
diff --git a/lib/ansible/cli/vault.py b/lib/ansible/cli/vault.py
index cbc56b826c..dcc617765f 100644
--- a/lib/ansible/cli/vault.py
+++ b/lib/ansible/cli/vault.py
@@ -14,7 +14,7 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
# ansible-vault is a script that encrypts/decrypts YAML files. See
-# http://docs.ansible.com/playbooks_vault.html for more details.
+# https://docs.ansible.com/playbooks_vault.html for more details.
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
diff --git a/lib/ansible/module_utils/connection.py b/lib/ansible/module_utils/connection.py
index 7e1aceba90..18014f4e13 100644
--- a/lib/ansible/module_utils/connection.py
+++ b/lib/ansible/module_utils/connection.py
@@ -111,7 +111,7 @@ class Connection(object):
req = request_builder(name, *args, **kwargs)
reqid = req['id']
- troubleshoot = 'http://docs.ansible.com/ansible/latest/network/user_guide/network_debug_troubleshooting.html#category-socket-path-issue'
+ troubleshoot = 'https://docs.ansible.com/ansible/latest/network/user_guide/network_debug_troubleshooting.html#category-socket-path-issue'
if not os.path.exists(self.socket_path):
raise ConnectionError('socket_path does not exist or cannot be found. Please check %s' % troubleshoot)
diff --git a/lib/ansible/modules/cloud/amazon/GUIDELINES.md b/lib/ansible/modules/cloud/amazon/GUIDELINES.md
index df0231cfef..3c32126d53 100644
--- a/lib/ansible/modules/cloud/amazon/GUIDELINES.md
+++ b/lib/ansible/modules/cloud/amazon/GUIDELINES.md
@@ -158,7 +158,7 @@ connection = boto3_conn(module, conn_type='client', resource='ec2', region=regio
### Common Documentation Fragments for Connection Parameters
-There are two [common documentation fragments](http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#documentation-fragments)
+There are two [common documentation fragments](https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#documentation-fragments)
that should be included into almost all AWS modules:
* `aws` - contains the common boto connection parameters
@@ -518,8 +518,8 @@ affect the module are detected. At a minimum this should cover the key API calls
documented return values are present in the module result.
For general information on running the integration tests see the [Integration Tests page of the
-Module Development Guide](http://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html).
-Particularly the [cloud test configuration section](http://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html#other-configuration-for-cloud-tests)
+Module Development Guide](https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html).
+Particularly the [cloud test configuration section](https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html#other-configuration-for-cloud-tests)
The integration tests for your module should be added in `test/integration/targets/MODULE_NAME`.
@@ -567,7 +567,7 @@ for every call, it's preferrable to use [YAML Anchors](http://blog.daemonl.com/2
### AWS Permissions for Integration Tests
-As explained in the [Integration Test guide](http://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html#iam-policies-for-aws)
+As explained in the [Integration Test guide](https://docs.ansible.com/ansible/latest/dev_guide/testing_integration.html#iam-policies-for-aws)
there are defined IAM policies in `hacking/aws_config/testing_policies/` that contain the necessary permissions
to run the AWS integration test.
diff --git a/lib/ansible/modules/cloud/ovirt/README.rst b/lib/ansible/modules/cloud/ovirt/README.rst
index 18c828a4c8..a5cbf0ccd6 100644
--- a/lib/ansible/modules/cloud/ovirt/README.rst
+++ b/lib/ansible/modules/cloud/ovirt/README.rst
@@ -47,7 +47,7 @@ New module development
----------------------
Please read
-`link <http://docs.ansible.com/ansible/dev_guide/developing_modules.html#how-to-develop-a-module>`__,
+`link <https://docs.ansible.com/ansible/dev_guide/developing_modules.html#how-to-develop-a-module>`__,
first to know what common properties, functions and features every module must
have.
diff --git a/lib/ansible/modules/net_tools/basics/get_url.py b/lib/ansible/modules/net_tools/basics/get_url.py
index 1151ddf477..4ead3f11eb 100644
--- a/lib/ansible/modules/net_tools/basics/get_url.py
+++ b/lib/ansible/modules/net_tools/basics/get_url.py
@@ -24,7 +24,7 @@ description:
the target host, requests will be sent through that proxy. This
behaviour can be overridden by setting a variable for this task
(see `setting the environment
- <http://docs.ansible.com/playbooks_environment.html>`_),
+ <https://docs.ansible.com/playbooks_environment.html>`_),
or by using the use_proxy option.
- HTTP redirects can redirect from HTTP to HTTPS so you should be sure that
your proxy environment for both protocols is correct.
diff --git a/lib/ansible/modules/notification/pushbullet.py b/lib/ansible/modules/notification/pushbullet.py
index e1c40b26c3..f912b489f5 100644
--- a/lib/ansible/modules/notification/pushbullet.py
+++ b/lib/ansible/modules/notification/pushbullet.py
@@ -68,7 +68,7 @@ EXAMPLES = '''
device: Chrome
push_type: link
title: Ansible Documentation
- body: http://docs.ansible.com/
+ body: https://docs.ansible.com/
# Sends a push notification to a channel
- pushbullet:
diff --git a/lib/ansible/modules/system/user.py b/lib/ansible/modules/system/user.py
index a65a98cdae..d6d62877b6 100644
--- a/lib/ansible/modules/system/user.py
+++ b/lib/ansible/modules/system/user.py
@@ -88,7 +88,7 @@ options:
description:
- Optionally set the user's password to this crypted value.
- On Darwin/OS X systems, this value has to be cleartext. Beware of security issues.
- - See U(http://docs.ansible.com/ansible/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module)
+ - See U(https://docs.ansible.com/ansible/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module)
for details on various ways to generate these password values.
state:
description:
diff --git a/lib/ansible/modules/utilities/logic/async_status.py b/lib/ansible/modules/utilities/logic/async_status.py
index 8f76e680e8..403e85f249 100644
--- a/lib/ansible/modules/utilities/logic/async_status.py
+++ b/lib/ansible/modules/utilities/logic/async_status.py
@@ -32,7 +32,7 @@ options:
choices: [ "status", "cleanup" ]
default: "status"
notes:
- - See also U(http://docs.ansible.com/playbooks_async.html)
+ - See also U(https://docs.ansible.com/playbooks_async.html)
- This module is also supported for Windows targets.
author:
- "Ansible Core Team"
diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py
index 3956a5835a..0163999b00 100644
--- a/lib/ansible/playbook/task.py
+++ b/lib/ansible/playbook/task.py
@@ -228,7 +228,7 @@ class Task(Base, Conditional, Taggable, Become):
# as we will remove this at some point in the future.
if action in ('include', 'include_tasks') and k not in self._valid_attrs and k not in self.DEPRECATED_ATTRIBUTES:
display.deprecated("Specifying include variables at the top-level of the task is deprecated."
- " Please see:\nhttp://docs.ansible.com/ansible/playbooks_roles.html#task-include-files-and-encouraging-reuse\n\n"
+ " Please see:\nhttps://docs.ansible.com/ansible/playbooks_roles.html#task-include-files-and-encouraging-reuse\n\n"
" for currently supported syntax regarding included files and variables", version="2.7")
new_ds['vars'][k] = v
elif k in self._valid_attrs:
diff --git a/lib/ansible/plugins/action/junos.py b/lib/ansible/plugins/action/junos.py
index 64913c14be..7a280e822a 100644
--- a/lib/ansible/plugins/action/junos.py
+++ b/lib/ansible/plugins/action/junos.py
@@ -59,7 +59,7 @@ class ActionModule(_ActionModule):
if provider['transport'] == 'cli' and self._task.action not in CLI_SUPPORTED_MODULES:
return {'failed': True, 'msg': "Transport type '%s' is not valid for '%s' module. "
- "Please see http://docs.ansible.com/ansible/latest/network/user_guide/platform_junos.html"
+ "Please see https://docs.ansible.com/ansible/latest/network/user_guide/platform_junos.html"
% (provider['transport'], self._task.action)}
if self._task.action == 'junos_netconf' or (provider['transport'] == 'cli' and self._task.action == 'junos_command'):
@@ -93,7 +93,7 @@ class ActionModule(_ActionModule):
if (self._play_context.connection == 'network_cli' and self._task.action not in CLI_SUPPORTED_MODULES) or \
(self._play_context.connection == 'netconf' and self._task.action == 'junos_netconf'):
return {'failed': True, 'msg': "Connection type '%s' is not valid for '%s' module. "
- "Please see http://docs.ansible.com/ansible/latest/network/user_guide/platform_junos.html"
+ "Please see https://docs.ansible.com/ansible/latest/network/user_guide/platform_junos.html"
% (self._play_context.connection, self._task.action)}
if (self._play_context.connection == 'local' and pc.connection == 'network_cli') or self._play_context.connection == 'network_cli':