';
*/
// 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, "/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.';
} else if (startsWithOneOf(current_url_path, ["/ansible/latest/", "/ansible/11/"])) {
/* 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.';
} else if (startsWith(current_url_path, "/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, "/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.';
} 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);
Getting started with Ansible
Ansible automates the management of remote systems and controls their desired state.
As shown in the preceding figure, most Ansible environments have three main components:
- Control node
A system on which Ansible is installed.
You run Ansible commands such as ansible
or ansible-inventory
on a control node.
- Inventory
A list of managed nodes that are logically organized.
You create an inventory on the control node to describe host deployments to Ansible.
- Managed node
A remote system, or host, that Ansible controls.