From c262dbfd308d2d98de078d82465982a0fbd60dc9 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Sun, 22 Apr 2018 00:15:16 -0700 Subject: [PATCH] Use https for links to ansible.com domains. --- CHANGELOG.md | 10 +++++----- CODING_GUIDELINES.md | 2 +- CONTRIBUTING.md | 6 +++--- MODULE_GUIDELINES.md | 2 +- README.rst | 2 +- ROADMAP.rst | 2 +- docs/docsite/README.md | 4 ++-- docs/docsite/rst/dev_guide/developing_api.rst | 2 +- .../rst/dev_guide/style_guide/_themes/srtd/footer.html | 2 +- .../rst/dev_guide/style_guide/_themes/srtd/layout.html | 6 +++--- .../rst/installation_guide/intro_installation.rst | 2 +- .../network/getting_started/intermediate_concepts.rst | 4 ++-- docs/docsite/rst/scenario_guides/guide_aci.rst | 2 +- docs/templates/man.j2 | 4 ++-- examples/DOCUMENTATION.yml | 2 +- hacking/metadata-tool.py | 2 +- lib/ansible/cli/vault.py | 2 +- lib/ansible/module_utils/connection.py | 2 +- lib/ansible/modules/cloud/amazon/GUIDELINES.md | 8 ++++---- lib/ansible/modules/cloud/ovirt/README.rst | 2 +- lib/ansible/modules/net_tools/basics/get_url.py | 2 +- lib/ansible/modules/notification/pushbullet.py | 2 +- lib/ansible/modules/system/user.py | 2 +- lib/ansible/modules/utilities/logic/async_status.py | 2 +- lib/ansible/playbook/task.py | 2 +- lib/ansible/plugins/action/junos.py | 4 ++-- packaging/port/sysutils/ansible/Makefile | 2 +- packaging/rpm/ansible.spec | 2 +- test/integration/targets/vault/faux-editor.py | 2 +- test/integration/targets/vault/password-script.py | 2 +- test/legacy/Makefile | 2 +- test/legacy/roles/cnos_backup/README.md | 2 +- test/legacy/roles/cnos_bgp/README.md | 2 +- test/legacy/roles/cnos_command/README.md | 2 +- test/legacy/roles/cnos_conditional_command/README.md | 2 +- test/legacy/roles/cnos_conditional_template/README.md | 2 +- test/legacy/roles/cnos_ethernet/README.md | 2 +- test/legacy/roles/cnos_facts/README.md | 2 +- test/legacy/roles/cnos_image/README.md | 2 +- test/legacy/roles/cnos_portchannel/README.md | 2 +- test/legacy/roles/cnos_rollback/README.md | 2 +- test/legacy/roles/cnos_save/README.md | 2 +- test/legacy/roles/cnos_showrun/README.md | 2 +- test/legacy/roles/cnos_template/README.md | 2 +- test/legacy/roles/cnos_vlag/README.md | 2 +- test/legacy/roles/cnos_vlan/README.md | 2 +- 46 files changed, 61 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ec384455c7ace..6ab1059c68885e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Ansible Changes By Release ## 2.6 "Heartbreaker" - ACTIVE DEVELOPMENT -[Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides/porting_guides.html) +[Porting Guide](https://docs.ansible.com/ansible/devel/porting_guides/porting_guides.html) ### Major Changes @@ -13,7 +13,7 @@ Ansible Changes By Release * In the `nxos_igmp_interface` module, `oif_prefix` and `oif_source` properties are deprecated. Use the `oif_ps` parameter with a dictionary of prefix and source to values instead. -See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides/porting_guides.html) for more information +See [Porting Guide](https://docs.ansible.com/ansible/devel/porting_guides/porting_guides.html) for more information ### Minor Changes * Removed restriction from protocol in cloudflare_dns module to allow other protocols than tcp and udp to be specified. @@ -127,7 +127,7 @@ See [Porting Guide](https://docs.ansible.com/ansible/devel/porting_guides/portin * network_cli * netconf -While neither is technically a new plugin, these connections may now be used directly with network modules. See [Network Best Practices for Ansible 2.5](http://docs.ansible.com/ansible/devel/network_best_practices_2.5.html) for more details. +While neither is technically a new plugin, these connections may now be used directly with network modules. See [Network Best Practices for Ansible 2.5](https://docs.ansible.com/ansible/devel/network_best_practices_2.5.html) for more details. #### Filters * parse_xml @@ -1358,7 +1358,7 @@ While neither is technically a new plugin, these connections may now be used dir ## 2.3 "Ramble On" - 2017-04-12 -Moving to Ansible 2.3 guide http://docs.ansible.com/ansible/porting_guide_2.3.html +Moving to Ansible 2.3 guide https://docs.ansible.com/ansible/porting_guide_2.3.html ### Major Changes * Documented and renamed the previously released 'single var vaulting' feature, allowing user to use vault encryption for single variables in a normal YAML vars file. @@ -2133,7 +2133,7 @@ Module fixes: * Added a new strategy `debug`, which allows per-task debugging of playbooks, for more details see https://docs.ansible.com/ansible/playbooks_debugger.html * Added a new option for tasks: `loop_control`. This currently only supports one option - `loop_var`, which allows a different loop variable from `item` to be used. * Added the ability to filter facts returned by the fact gathering setup step using the `gather_subset` option on the play or in the ansible.cfg configuration file. - See http://docs.ansible.com/ansible/intro_configuration.html#gathering for details on the format of the option. + See https://docs.ansible.com/ansible/intro_configuration.html#gathering for details on the format of the option. * Added the ability to send per-item callbacks, rather than a batch update (this more closely resembles the behavior of Ansible 1.x). * Added facility for modules to send back 'diff' for display when ansible is called with --diff, updated several modules to return this info * Added ansible-console tool, a REPL shell that allows running adhoc tasks against a chosen inventory (based on https://github.com/dominis/ansible-shell) diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md index 46ca6f2b6283d6..682b3fe7a18937 100644 --- a/CODING_GUIDELINES.md +++ b/CODING_GUIDELINES.md @@ -20,7 +20,7 @@ PEP 8 and basic style checks * [PEP 8](https://www.python.org/dev/peps/pep-0008/) is a great Python style guide, which you should read. * PEP 8 must not be strictly followed in all aspects, but most of it is good advice. * The line is limited to 160 characters. - * To run checks for things we care about, use [ansible-test](http://docs.ansible.com/ansible/dev_guide/testing_pep8.html#running-locally). + * To run checks for things we care about, use [ansible-test](https://docs.ansible.com/ansible/dev_guide/testing_pep8.html#running-locally). * Similarly, additional checks can be made with "make pyflakes". * There is no need to submit code changes for PEP 8 and pyflakes fixes, as these break attribution history. Project leadership will make these periodically. * Do not submit pull requests that simply adjust whitespace in the code. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4da62052c6d33c..82da098f291bd7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,19 +5,19 @@ Hi! Nice to see you here! ## QUESTIONS ? -Please see the [community guide](http://docs.ansible.com/ansible/latest/community/index.html) for information on how to ask questions on the [mailing lists](http://docs.ansible.com/ansible/latest/community/communication.html#mailing-list-information) and IRC. +Please see the [community guide](https://docs.ansible.com/ansible/latest/community/index.html) for information on how to ask questions on the [mailing lists](https://docs.ansible.com/ansible/latest/community/communication.html#mailing-list-information) and IRC. The GitHub issue tracker is not the best place for questions for various reasons, but both IRC and the mailing list are very helpful places for those things, as the community page explains best. ## CONTRIBUTING ? -Please see the [community guide](http://docs.ansible.com/ansible/latest/community/index.html) for information regarding the contribution process. Important license agreement information is also included on that page. +Please see the [community guide](https://docs.ansible.com/ansible/latest/community/index.html) for information regarding the contribution process. Important license agreement information is also included on that page. ## BUG TO REPORT ? -First and foremost, also check the [community guide](http://docs.ansible.com/ansible/latest/community/index.html). +First and foremost, also check the [community guide](https://docs.ansible.com/ansible/latest/community/index.html). You can report bugs or make enhancement requests at the [Ansible GitHub issue page](http://github.com/ansible/ansible/issues/new) by filling out the issue template that will be presented. diff --git a/MODULE_GUIDELINES.md b/MODULE_GUIDELINES.md index c79f0fef58de98..e6ce5281060638 100644 --- a/MODULE_GUIDELINES.md +++ b/MODULE_GUIDELINES.md @@ -1,3 +1,3 @@ # Module Maintainer Guidelines -The Ansible Module Maintainer Guidelines can now be found in the [official Ansible community guide](http://docs.ansible.com/ansible/latest/community/maintainers.html). +The Ansible Module Maintainer Guidelines can now be found in the [official Ansible community guide](https://docs.ansible.com/ansible/latest/community/maintainers.html). diff --git a/README.rst b/README.rst index a142d9663c8189..ed6cd17a93b48a 100644 --- a/README.rst +++ b/README.rst @@ -95,6 +95,6 @@ See `COPYING `_ to see the full text. .. |PyPI version| image:: https://img.shields.io/pypi/v/ansible.svg :target: https://pypi.org/project/ansible .. |Docs badge| image:: https://img.shields.io/badge/docs-latest-brightgreen.svg - :target: http://docs.ansible.com/ansible + :target: https://docs.ansible.com/ansible .. |Build Status| image:: https://api.shippable.com/projects/573f79d02a8192902e20e34b/badge?branch=devel :target: https://app.shippable.com/projects/573f79d02a8192902e20e34b diff --git a/ROADMAP.rst b/ROADMAP.rst index 01ab0116e8a89e..f37ec179b28750 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -14,4 +14,4 @@ These roadmaps are the team's *best guess* roadmaps based on the Ansible team's - AnsibleFest conferences. - IRC Freenode channel: #ansible-devel (this one may have things lost in lots of conversation, so a caution). -Ansible Roadmaps can be found `here `_. +Ansible Roadmaps can be found `here `_. diff --git a/docs/docsite/README.md b/docs/docsite/README.md index 6075c8a66f26c7..cd094d241c14b8 100644 --- a/docs/docsite/README.md +++ b/docs/docsite/README.md @@ -1,7 +1,7 @@ Homepage and documentation source for Ansible ============================================= -This project hosts the source behind [docs.ansible.com](http://docs.ansible.com/) +This project hosts the source behind [docs.ansible.com](https://docs.ansible.com/) Contributions to the documentation are welcome. To make changes, submit a pull request that changes the reStructuredText files in the `rst/` directory only, and the core team can do a docs build and push the static files. @@ -18,4 +18,4 @@ Note that module documentation can actually be [generated from a DOCUMENTATION d To install sphinx and the required theme, install pip and then "pip install sphinx sphinx_rtd_theme" [file issues]: https://github.com/ansible/ansible/issues -[module-docs]: http://docs.ansible.com/developing_modules.html#documenting-your-module +[module-docs]: https://docs.ansible.com/developing_modules.html#documenting-your-module diff --git a/docs/docsite/rst/dev_guide/developing_api.rst b/docs/docsite/rst/dev_guide/developing_api.rst index abbf3ed1d12d5b..5efc7326bb27cb 100644 --- a/docs/docsite/rst/dev_guide/developing_api.rst +++ b/docs/docsite/rst/dev_guide/developing_api.rst @@ -15,7 +15,7 @@ write plugins, and you can plug in inventory data from external data sources. T gives a basic overview and examples of the Ansible execution and playbook API. If you would like to use Ansible programmatically from a language other than Python, trigger events asynchronously, -or have access control and logging demands, please see the `Ansible Tower documentation `_. +or have access control and logging demands, please see the `Ansible Tower documentation `_. .. note:: Because Ansible relies on forking processes, this API is not thread safe. diff --git a/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/footer.html b/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/footer.html index dad99001b470c9..2e89df449bd528 100644 --- a/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/footer.html +++ b/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/footer.html @@ -13,7 +13,7 @@

- © Copyright 2015 Ansible, Inc.. + © Copyright 2015 Ansible, Inc.. {%- if last_updated %} {% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %} diff --git a/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/layout.html b/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/layout.html index b9d9d065c7bd5d..235a0c2a6e6aea 100644 --- a/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/layout.html +++ b/docs/docsite/rst/dev_guide/style_guide/_themes/srtd/layout.html @@ -197,11 +197,11 @@

- - + + - +
 

 
diff --git a/docs/docsite/rst/installation_guide/intro_installation.rst b/docs/docsite/rst/installation_guide/intro_installation.rst index 0baaeff64cd9c0..76c0d551731fb5 100644 --- a/docs/docsite/rst/installation_guide/intro_installation.rst +++ b/docs/docsite/rst/installation_guide/intro_installation.rst @@ -277,7 +277,7 @@ Readers that use virtualenv can also install Ansible under virtualenv, though we Tarballs of Tagged Releases +++++++++++++++++++++++++++ -Packaging Ansible or wanting to build a local package yourself, but don't want to do a git checkout? Tarballs of releases are available on the `Ansible downloads `_ page. +Packaging Ansible or wanting to build a local package yourself, but don't want to do a git checkout? Tarballs of releases are available on the `Ansible downloads `_ page. These releases are also tagged in the `git repository `_ with the release version. diff --git a/docs/docsite/rst/network/getting_started/intermediate_concepts.rst b/docs/docsite/rst/network/getting_started/intermediate_concepts.rst index 27cbe1a821b021..d4eadf349d7260 100644 --- a/docs/docsite/rst/network/getting_started/intermediate_concepts.rst +++ b/docs/docsite/rst/network/getting_started/intermediate_concepts.rst @@ -49,8 +49,8 @@ Text Read more about Ansible for Network Automation: -- Network Automation on the `Ansible website `_ -- Ansible Network `Blog posts `_ +- Network Automation on the `Ansible website `_ +- Ansible Network `Blog posts `_ Events (on Video and in Person) -------------------------------- diff --git a/docs/docsite/rst/scenario_guides/guide_aci.rst b/docs/docsite/rst/scenario_guides/guide_aci.rst index 5e9698cea62bd6..6da162348e847a 100644 --- a/docs/docsite/rst/scenario_guides/guide_aci.rst +++ b/docs/docsite/rst/scenario_guides/guide_aci.rst @@ -65,7 +65,7 @@ For instance ensuring that a specific tenant exists, is done using the following description: Customer XYZ state: present -A complete list of existing ACI modules is available for the latest stable release on the :ref:`list of network modules `. You can also view the `current development version `_. +A complete list of existing ACI modules is available for the latest stable release on the :ref:`list of network modules `. You can also view the `current development version `_. Querying ACI configuration .......................... diff --git a/docs/templates/man.j2 b/docs/templates/man.j2 index 6755a545274611..a9ba2577f5d236 100644 --- a/docs/templates/man.j2 +++ b/docs/templates/man.j2 @@ -67,7 +67,7 @@ INVENTORY Ansible stores the hosts it can potentially operate on in an inventory. This can be an YAML file, ini-like file, a script, directory, list, etc. -For additional options, see the documentation on http://docs.ansible.com/. +For additional options, see the documentation on https://docs.ansible.com/. {% endif %} ENVIRONMENT @@ -119,6 +119,6 @@ SEE ALSO {% for other in cli_list|sort %}{% if other != cli %}**ansible{% if other != 'adhoc' %}-{{other}}{% endif %}** (1){% if not loop.last %}, {% endif %}{% endif %}{% endfor %} Extensive documentation is available in the documentation site: -. +. IRC and mailing list info can be found in file CONTRIBUTING.md, available in: diff --git a/examples/DOCUMENTATION.yml b/examples/DOCUMENTATION.yml index 75762ab4fc1b27..49fc2125bafb2b 100644 --- a/examples/DOCUMENTATION.yml +++ b/examples/DOCUMENTATION.yml @@ -3,7 +3,7 @@ # aliases) you can use the word 'null', or an empty list, [], where # appropriate. # -# See http://docs.ansible.com/ansible/dev_guide/developing_modules_documenting.html for more information +# See https://docs.ansible.com/ansible/dev_guide/developing_modules_documenting.html for more information # module: modulename short_description: This is a sentence describing the module diff --git a/hacking/metadata-tool.py b/hacking/metadata-tool.py index 2da3a809dcf3bc..0cd0adc9a2face 100755 --- a/hacking/metadata-tool.py +++ b/hacking/metadata-tool.py @@ -177,7 +177,7 @@ def parse_assigned_metadata(csvfile): :4: deprecated :5: removed - http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#ansible-metadata-block + https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#ansible-metadata-block """ with open(csvfile, 'rb') as f: for record in csv.reader(f): diff --git a/lib/ansible/cli/vault.py b/lib/ansible/cli/vault.py index cbc56b826c74c9..dcc617765f96d8 100644 --- a/lib/ansible/cli/vault.py +++ b/lib/ansible/cli/vault.py @@ -14,7 +14,7 @@ # along with Ansible. If not, see . # # 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 7e1aceba9059a2..18014f4e130d5d 100644 --- a/lib/ansible/module_utils/connection.py +++ b/lib/ansible/module_utils/connection.py @@ -111,7 +111,7 @@ def _exec_jsonrpc(self, name, *args, **kwargs): 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 df0231cfef60e0..3c32126d53690e 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 18c828a4c892d1..a5cbf0ccd65efa 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 `__, +`link `__, 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 1151ddf47739a1..4ead3f11eb50ea 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 @@ 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 - `_), + `_), 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 e1c40b26c3c246..f912b489f50d3d 100644 --- a/lib/ansible/modules/notification/pushbullet.py +++ b/lib/ansible/modules/notification/pushbullet.py @@ -68,7 +68,7 @@ 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 a65a98cdae6a08..d6d62877b6d1e5 100644 --- a/lib/ansible/modules/system/user.py +++ b/lib/ansible/modules/system/user.py @@ -88,7 +88,7 @@ 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 8f76e680e8871e..403e85f24925bd 100644 --- a/lib/ansible/modules/utilities/logic/async_status.py +++ b/lib/ansible/modules/utilities/logic/async_status.py @@ -32,7 +32,7 @@ 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 3956a5835a7508..0163999b0043c6 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -228,7 +228,7 @@ def preprocess_data(self, ds): # 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 64913c14be95c8..7a280e822a601f 100644 --- a/lib/ansible/plugins/action/junos.py +++ b/lib/ansible/plugins/action/junos.py @@ -59,7 +59,7 @@ def run(self, tmp=None, task_vars=None): 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 @@ def run(self, tmp=None, task_vars=None): 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': diff --git a/packaging/port/sysutils/ansible/Makefile b/packaging/port/sysutils/ansible/Makefile index ef71c95c6c92a8..0ad6201999c3a2 100644 --- a/packaging/port/sysutils/ansible/Makefile +++ b/packaging/port/sysutils/ansible/Makefile @@ -4,7 +4,7 @@ PORTNAME= ansible PORTVERSION= 2.1 PORTREVISION= 1 CATEGORIES= python net-mgmt sysutils -MASTER_SITES= http://releases.ansible.com/ansible/ +MASTER_SITES= https://releases.ansible.com/ansible/ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= bcoca@ansible.com diff --git a/packaging/rpm/ansible.spec b/packaging/rpm/ansible.spec index 458fde50c37ed8..1257de514cfba1 100644 --- a/packaging/rpm/ansible.spec +++ b/packaging/rpm/ansible.spec @@ -12,7 +12,7 @@ Url: https://www.ansible.com Summary: SSH-based application deployment, configuration management, and IT orchestration platform License: GPLv3+ Group: Development/Libraries -Source: http://releases.ansible.com/ansible/%{name}-%{version}.tar.gz +Source: https://releases.ansible.com/ansible/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %{!?__python2: %global __python2 /usr/bin/python2.6} %{!?python_sitelib: %global python_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} diff --git a/test/integration/targets/vault/faux-editor.py b/test/integration/targets/vault/faux-editor.py index 7f9983c07c9ffa..68f625901c0b2b 100755 --- a/test/integration/targets/vault/faux-editor.py +++ b/test/integration/targets/vault/faux-editor.py @@ -14,7 +14,7 @@ # along with Ansible. If not, see . # # 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/test/integration/targets/vault/password-script.py b/test/integration/targets/vault/password-script.py index ceb2ac1713f143..c47fdfb922fa74 100755 --- a/test/integration/targets/vault/password-script.py +++ b/test/integration/targets/vault/password-script.py @@ -14,7 +14,7 @@ # along with Ansible. If not, see . # # 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/test/legacy/Makefile b/test/legacy/Makefile index 7d546dd2ab3805..95806436cd8abe 100644 --- a/test/legacy/Makefile +++ b/test/legacy/Makefile @@ -1,7 +1,7 @@ # This Makefile is for legacy integration tests. # Most new tests should be implemented using ansible-test. # Existing tests are slowly being migrated to ansible-test. -# See: http://docs.ansible.com/ansible/dev_guide/testing_integration.html +# See: https://docs.ansible.com/ansible/dev_guide/testing_integration.html TEST_DIR ?= ~/ansible_testing INVENTORY ?= inventory diff --git a/test/legacy/roles/cnos_backup/README.md b/test/legacy/roles/cnos_backup/README.md index 243167be0cb42c..41b9bc15d771a8 100644 --- a/test/legacy/roles/cnos_backup/README.md +++ b/test/legacy/roles/cnos_backup/README.md @@ -13,7 +13,7 @@ For more details, see [Lenovo modules for Ansible: cnos_backup](http://systemx.l --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_bgp/README.md b/test/legacy/roles/cnos_bgp/README.md index ee28ebabcce578..d41efa0b63743e 100644 --- a/test/legacy/roles/cnos_bgp/README.md +++ b/test/legacy/roles/cnos_bgp/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_bgp](http://systemx.leno --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_command/README.md b/test/legacy/roles/cnos_command/README.md index 5a08e8887bc60d..de458f3b73948e 100644 --- a/test/legacy/roles/cnos_command/README.md +++ b/test/legacy/roles/cnos_command/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_command](http://systemx. --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_conditional_command/README.md b/test/legacy/roles/cnos_conditional_command/README.md index 3ec63f2f29b417..6f2b279a0f5027 100644 --- a/test/legacy/roles/cnos_conditional_command/README.md +++ b/test/legacy/roles/cnos_conditional_command/README.md @@ -20,7 +20,7 @@ For more details, see [Lenovo modules for Ansible: cnos_conditional_command](htt --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_conditional_template/README.md b/test/legacy/roles/cnos_conditional_template/README.md index 0f0c8a71c75f0a..8f60e00ea2b3b0 100644 --- a/test/legacy/roles/cnos_conditional_template/README.md +++ b/test/legacy/roles/cnos_conditional_template/README.md @@ -21,7 +21,7 @@ For more details, see [Lenovo modules for Ansible: cnos_conditional_template](ht --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_ethernet/README.md b/test/legacy/roles/cnos_ethernet/README.md index 4fdafd1175f4a8..1981a23fd53cc8 100644 --- a/test/legacy/roles/cnos_ethernet/README.md +++ b/test/legacy/roles/cnos_ethernet/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_interface](http://system --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_facts/README.md b/test/legacy/roles/cnos_facts/README.md index b371f288c4abfe..2830a66bdbe0b9 100644 --- a/test/legacy/roles/cnos_facts/README.md +++ b/test/legacy/roles/cnos_facts/README.md @@ -13,7 +13,7 @@ For more details, see [Lenovo modules for Ansible: cnos_facts](http://systemx.le --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_image/README.md b/test/legacy/roles/cnos_image/README.md index c839ae2062976e..d37b626f394b54 100644 --- a/test/legacy/roles/cnos_image/README.md +++ b/test/legacy/roles/cnos_image/README.md @@ -17,7 +17,7 @@ For more details, see [Lenovo modules for Ansible: cnos_image](http://systemx.le --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_portchannel/README.md b/test/legacy/roles/cnos_portchannel/README.md index 617a0abc2f28b7..4b8ea9323eceb4 100644 --- a/test/legacy/roles/cnos_portchannel/README.md +++ b/test/legacy/roles/cnos_portchannel/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_portchannel](http://syst --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_rollback/README.md b/test/legacy/roles/cnos_rollback/README.md index 826ed107eabfed..da652607778dfc 100644 --- a/test/legacy/roles/cnos_rollback/README.md +++ b/test/legacy/roles/cnos_rollback/README.md @@ -17,7 +17,7 @@ For more details, see [Lenovo modules for Ansible: cnos_rollback](http://systemx --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_save/README.md b/test/legacy/roles/cnos_save/README.md index c80630b8977496..7d11c8c3f813a2 100644 --- a/test/legacy/roles/cnos_save/README.md +++ b/test/legacy/roles/cnos_save/README.md @@ -13,7 +13,7 @@ For more details, see [Lenovo modules for Ansible: cnos_save](http://systemx.len --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_showrun/README.md b/test/legacy/roles/cnos_showrun/README.md index 924d8cb8ec4e3b..36f7f118ce6bc1 100644 --- a/test/legacy/roles/cnos_showrun/README.md +++ b/test/legacy/roles/cnos_showrun/README.md @@ -13,7 +13,7 @@ For more details, see [Lenovo modules for Ansible: cnos_showrun](http://systemx. --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_template/README.md b/test/legacy/roles/cnos_template/README.md index 28f41854bfb3db..5b070a3a77739b 100644 --- a/test/legacy/roles/cnos_template/README.md +++ b/test/legacy/roles/cnos_template/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_template](http://systemx --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_vlag/README.md b/test/legacy/roles/cnos_vlag/README.md index 41881f86cee63a..32595f9a29b550 100644 --- a/test/legacy/roles/cnos_vlag/README.md +++ b/test/legacy/roles/cnos_vlag/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_vlag](http://systemx.len --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device) diff --git a/test/legacy/roles/cnos_vlan/README.md b/test/legacy/roles/cnos_vlan/README.md index 7deb238783e295..5b69e70f3fc344 100644 --- a/test/legacy/roles/cnos_vlan/README.md +++ b/test/legacy/roles/cnos_vlan/README.md @@ -15,7 +15,7 @@ For more details, see [Lenovo modules for Ansible: cnos_vlan](http://systemx.len --- -- Ansible version 2.2 or later ([Ansible installation documentation](http://docs.ansible.com/ansible/intro_installation.html)) +- Ansible version 2.2 or later ([Ansible installation documentation](https://docs.ansible.com/ansible/intro_installation.html)) - Lenovo switches running CNOS version 10.2.1.0 or later - an SSH connection to the Lenovo switch (SSH must be enabled on the network device)