From d6da3b8c85ed1a42ad0fe67469d974c10ca95046 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Wed, 1 Sep 2021 12:32:00 -0400 Subject: [PATCH] Return correct url for relative paths in messages (#75562) --- changelogs/fragments/fix_relative_msg_urls.yml | 2 ++ lib/ansible/config/base.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/fix_relative_msg_urls.yml diff --git a/changelogs/fragments/fix_relative_msg_urls.yml b/changelogs/fragments/fix_relative_msg_urls.yml new file mode 100644 index 00000000000..16f374cf817 --- /dev/null +++ b/changelogs/fragments/fix_relative_msg_urls.yml @@ -0,0 +1,2 @@ +bugfixes: + - Since ansible/2.11 doc site was removed, the current relative messages point to a 404 url, this fixes it by chainging the target to ansible-core/2.11 diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index 6470578f8cc..9cf3aeede54 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -1302,7 +1302,7 @@ DISPLAY_SKIPPED_HOSTS: type: boolean DOCSITE_ROOT_URL: name: Root docsite URL - default: https://docs.ansible.com/ansible/ + default: https://docs.ansible.com/ansible-core/ description: Root docsite URL used to generate docs URLs in warning/error text; must be an absolute URL with valid scheme and trailing slash. ini: