Back to Ansible

Start automating with Ansible

docs/docsite/rst/getting_started/get_started_ansible.rst

2.21.0b31.1 KB
Original Source

.. _get_started_ansible:


Start automating with Ansible


Get started with Ansible by creating an automation project, building an inventory, and creating a "Hello World" playbook.

#. Install Ansible.

.. code-block:: bash

  pip install ansible

#. Create a project folder on your filesystem.

.. code-block:: bash

  mkdir ansible_quickstart && cd ansible_quickstart

Using a single directory structure makes it easier to add to source control as well as to reuse and share automation content.

Continue getting started with Ansible by :ref:building an inventory<get_started_inventory>.

.. seealso::

:ref:installation_guide Installation guide with instructions for installing Ansible on various operating systems Ansible Demos <https://github.com/ansible/product-demos>_ Demonstrations of different Ansible usecases Ansible Labs <https://www.ansible.com/products/ansible-training>_ Labs to provide further knowledge on different topics :ref:Ansible Communication Guide<communication> Questions? Help? Ideas? Ask the community