- Indexes of all modules and plugins
-
';
// Create a banner if we're not on the official docs site
if (location.host == "docs.testing.ansible.com") {
document.write('
' +
'
This is the testing site for Ansible Documentation. Unless you are reviewing pre-production changes, please visit the official documentation website.
' +
'
');
}
// Create a banner
current_url_path = window.location.pathname;
var important = false;
var msg = '
';
if (startsWith(current_url_path, "/projects/ansible-core/")) {
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 the latest documentation.';
/* temp - add extra warning about core-2.19. Included in core 2.19 and later releases */
msg += '
Important: The ansible-core 2.19 release has made significant templating changes that might require you to update playbooks and roles. 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 porting guide to understand where you may need to update your playbooks and roles.';
} else if (startsWithOneOf(current_url_path, ["/projects/ansible/latest/", "/projects/ansible/13/"])) {
/* temp extra banner to advertise something */
banner += extra_banner;
msg += 'This is the latest (stable) Ansible community documentation. For Red Hat Ansible Automation Platform subscriptions, see Life Cycle for version details.';
/* temp - add extra warning about core-2.19. Included in latest package release docs */
msg += '
Important: The ansible-core 2.19/Ansible 12 release has made significant templating changes that might require you to update playbooks and roles. 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 porting guide to understand where you may need to update your playbooks and roles.';
} else if (startsWith(current_url_path, "/projects/ansible/2.9/")) {
msg += 'You are reading the latest Red Hat released version of the Ansible documentation. Community users can use this version, or select latest from the version selector to the left for the most recent community version.';
} else if (startsWith(current_url_path, "/projects/ansible/devel/")) {
/* temp extra banner to advertise something */
banner += extra_banner;
msg += 'You are reading the devel version of the Ansible documentation - this version is not guaranteed stable. Use the version selection to the left if you want the latest (stable) released version.';
/* temp - add extra warning about core-2.19.Added to latest and devel docs */
msg += '
Important: The ansible-core 2.19/Ansible 12 release has made significant templating changes that might require you to update playbooks and roles. 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 porting guide to understand where you may need to update your playbooks and roles.';
} else {
msg += 'You are reading an older version of the Ansible documentation. Use the version selection to the left if you want the latest (stable) released version.';
/* temp extra banner to advertise something - this is for testing*/
banner += extra_banner;
}
msg += '
';
banner += '
';
banner += important ? '
' : '';
banner += msg;
banner += important ? '
' : '';
banner += '
';
document.write(banner);
Indexes of all modules and plugins