mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 14:01:42 -07:00
Prefer readthedocs.io instead of readthedocs.org for doc links (#41537)
Read the Docs moved hosting to readthedocs.io instead of readthedocs.org. Fix all links in the project. For additional details, see: https://blog.readthedocs.com/securing-subdomains/ > Starting today, Read the Docs will start hosting projects from > subdomains on the domain readthedocs.io, instead of on > readthedocs.org. This change addresses some security concerns around > site cookies while hosting user generated data on the same domain as > our dashboard.
This commit is contained in:
parent
8047d97ffc
commit
bf304832ff
15 changed files with 16 additions and 16 deletions
|
@ -214,7 +214,7 @@ are a number of possibilities for handling it.
|
|||
* Use fail_json() to report the failure without using `ansible.module_utils.aws.core`
|
||||
* Do something custom in the case where you know how to handle the exception
|
||||
|
||||
For more information on botocore exception handling see [the botocore error documentation](http://botocore.readthedocs.org/en/latest/client_upgrades.html#error-handling).
|
||||
For more information on botocore exception handling see [the botocore error documentation](https://botocore.readthedocs.io/en/latest/client_upgrades.html#error-handling).
|
||||
|
||||
### Using is_boto3_error_code
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ description:
|
|||
- Creates or terminates ecs services.
|
||||
notes:
|
||||
- the service role specified must be assumable (i.e. have a trust relationship for the ecs service, ecs.amazonaws.com)
|
||||
- for details of the parameters and returns see U(http://boto3.readthedocs.org/en/latest/reference/services/ecs.html)
|
||||
- for details of the parameters and returns see U(https://boto3.readthedocs.io/en/latest/reference/services/ecs.html)
|
||||
- An IAM role must have been previously created
|
||||
version_added: "2.1"
|
||||
author:
|
||||
|
|
|
@ -520,7 +520,7 @@ class ConsulCheck(object):
|
|||
|
||||
def test_dependencies(module):
|
||||
if not python_consul_installed:
|
||||
module.fail_json(msg="python-consul required for this module. see http://python-consul.readthedocs.org/en/latest/#installation")
|
||||
module.fail_json(msg="python-consul required for this module. see https://python-consul.readthedocs.io/en/latest/#installation")
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -606,7 +606,7 @@ def check_dependencies():
|
|||
"""
|
||||
if not python_consul_installed:
|
||||
raise ImportError("python-consul required for this module. "
|
||||
"See: http://python-consul.readthedocs.org/en/latest/#installation")
|
||||
"See: https://python-consul.readthedocs.io/en/latest/#installation")
|
||||
|
||||
if not pyhcl_installed:
|
||||
raise ImportError("pyhcl required for this module. "
|
||||
|
|
|
@ -283,7 +283,7 @@ def get_consul_api(module, token=None):
|
|||
def test_dependencies(module):
|
||||
if not python_consul_installed:
|
||||
module.fail_json(msg="python-consul required for this module. "
|
||||
"see http://python-consul.readthedocs.org/en/latest/#installation")
|
||||
"see https://python-consul.readthedocs.io/en/latest/#installation")
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -233,7 +233,7 @@ def get_consul_api(module):
|
|||
def test_dependencies(module):
|
||||
if not python_consul_installed:
|
||||
module.fail_json(msg="python-consul required for this module. "
|
||||
"see http://python-consul.readthedocs.org/en/latest/#installation")
|
||||
"see https://python-consul.readthedocs.io/en/latest/#installation")
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
@ -13,7 +13,7 @@ DOCUMENTATION = """
|
|||
Values can be easily set in the kv store with simple rest commands
|
||||
- C(curl -X PUT -d 'some-value' http://localhost:8500/v1/kv/ansible/somedata)
|
||||
requirements:
|
||||
- 'python-consul python library U(http://python-consul.readthedocs.org/en/latest/#installation)'
|
||||
- 'python-consul python library U(https://python-consul.readthedocs.io/en/latest/#installation)'
|
||||
options:
|
||||
_raw:
|
||||
description: List of key(s) to retrieve.
|
||||
|
@ -84,7 +84,7 @@ class LookupModule(LookupBase):
|
|||
def run(self, terms, variables=None, **kwargs):
|
||||
|
||||
if not HAS_CONSUL:
|
||||
raise AnsibleError('python-consul is required for consul_kv lookup. see http://python-consul.readthedocs.org/en/latest/#installation')
|
||||
raise AnsibleError('python-consul is required for consul_kv lookup. see https://python-consul.readthedocs.io/en/latest/#installation')
|
||||
|
||||
values = []
|
||||
try:
|
||||
|
|
|
@ -61,7 +61,7 @@ notes:
|
|||
C(AWS_SECURITY_TOKEN) or C(EC2_SECURITY_TOKEN),
|
||||
C(AWS_REGION) or C(EC2_REGION)
|
||||
- Ansible uses the boto configuration file (typically ~/.boto) if no
|
||||
credentials are provided. See http://boto.readthedocs.org/en/latest/boto_config_tut.html
|
||||
credentials are provided. See https://boto.readthedocs.io/en/latest/boto_config_tut.html
|
||||
- C(AWS_REGION) or C(EC2_REGION) can be typically be used to specify the
|
||||
AWS region, when required, but this can also be configured in the boto config file
|
||||
"""
|
||||
|
|
|
@ -85,5 +85,5 @@ notes:
|
|||
You can define DOCKER_HOST, DOCKER_TLS_HOSTNAME, DOCKER_API_VERSION, DOCKER_CERT_PATH, DOCKER_SSL_VERSION,
|
||||
DOCKER_TLS, DOCKER_TLS_VERIFY and DOCKER_TIMEOUT. If you are using docker machine, run the script shipped
|
||||
with the product that sets up the environment. It will set these variables for you. See
|
||||
https://docker-py.readthedocs.org/en/stable/machine/ for more details.
|
||||
https://docker-py.readthedocs.io/en/stable/machine/ for more details.
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue