Skip to content

Commit 9f72f57

Browse files
authored
add core 2.19 docs to package docs (#3050) (#3051)
(cherry picked from commit da8ec25)
1 parent 7384552 commit 9f72f57

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/docsite/.templates/banner.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,17 @@
3838
var msg = '<p>';
3939
if (startsWith(current_url_path, "/ansible-core/")) {
4040
msg += 'You are reading documentation for Ansible Core, which contains no plugins except for those in ansible.builtin. For documentation of the Ansible package, go to <a href="/ansible/latest">the latest documentation</a>.';
41-
/* temp - add extra warning about core-2.19. This should move to latest at release time */
41+
/* temp - add extra warning about core-2.19. Included in core 2.19 and later releases */
4242
msg += '<br><p><strong>Important:</strong> The ansible-core 2.19 release has made <b>significant templating changes that might require you to update playbooks and roles</b>. The templating changes enable reporting of numerous problematic behaviors that went undetected in previous releases, with wide-ranging positive effects on security, performance, and user experience. You should validate your content to ensure compatibility with these templating changes before upgrading to ansible-core 2.19. See the <a href="https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_12.html">porting guide</a> to understand where you may need to update your playbooks and roles.';
4343
} else if (startsWithOneOf(current_url_path, ["/ansible/latest/", "/ansible/{{ latest_version }}/"])) {
4444
/* temp extra banner to advertise something */
4545
banner += extra_banner;
4646

4747
msg += 'This is the <b>latest</b> (stable) Ansible community documentation. For Red Hat Ansible Automation Platform subscriptions, see <a href="https://access.redhat.com/support/policy/updates/ansible-automation-platform">Life Cycle</a> for version details.';
48+
/* temp - add extra warning about core-2.19. Included in latest package release docs */
49+
50+
msg += '<br><p><strong>Important:</strong> The ansible-core 2.19/Ansible 12 release has made <b>significant templating changes that might require you to update playbooks and roles</b>. The templating changes enable reporting of numerous problematic behaviors that went undetected in previous releases, with wide-ranging positive effects on security, performance, and user experience. You should validate your content to ensure compatibility with these templating changes before upgrading to ansible-core 2.19 or Ansible 12. See the <a href="https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_12.html">porting guide</a> to understand where you may need to update your playbooks and roles.';
51+
4852
} else if (startsWith(current_url_path, "/ansible/2.9/")) {
4953
msg += 'You are reading the latest Red Hat released version of the Ansible documentation. Community users can use this version, or select <b>latest</b> from the version selector to the left for the most recent community version.';
5054
} else if (startsWith(current_url_path, "/ansible/devel/")) {

0 commit comments

Comments
 (0)