mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
Some cleanup of the intro and getting started sections. (#25083)
This commit is contained in:
parent
757758cd1a
commit
54bdcd734e
3 changed files with 17 additions and 14 deletions
|
@ -1,7 +1,7 @@
|
||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
||||||
Before we dive into the really fun parts -- playbooks, configuration management, deployment, and orchestration -- we'll learn how to get Ansible installed and cover some basic concepts. We'll also go over how to execute ad-hoc commands in parallel across your nodes using /usr/bin/ansible, and see what sort of modules are available in Ansible's core (you can also write your own, which is covered later).
|
Before we start exploring the main components of Ansible -- playbooks, configuration management, deployment, and orchestration -- we'll learn how to get Ansible installed and cover some basic concepts. We'll also go over how to execute ad-hoc commands in parallel across your nodes using /usr/bin/ansible, and see what modules are available in Ansible's core (you can also write your own, which is covered later).
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 1
|
:maxdepth: 1
|
||||||
|
|
|
@ -8,14 +8,13 @@ Getting Started
|
||||||
Foreword
|
Foreword
|
||||||
````````
|
````````
|
||||||
|
|
||||||
Now that you've read :doc:`intro_installation` and installed Ansible, it's time to dig in and get
|
Now that you've read :doc:`intro_installation` and installed Ansible, it's time to get
|
||||||
started with some commands.
|
started with some ad-hoc commands.
|
||||||
|
|
||||||
What we are showing first are not the powerful configuration/deployment/orchestration features of Ansible.
|
What we are showing first are not the powerful configuration/deployment/orchestration features of Ansible.
|
||||||
These features are handled by playbooks which are covered in a separate section.
|
These features are handled by playbooks which are covered in a separate section.
|
||||||
|
|
||||||
This section is about how to initially get going. Once you have these concepts down, read :doc:`intro_adhoc` for some more
|
This section is about how to initially get Ansible running. Once you understand these concepts, read :doc:`intro_adhoc` for some more detail, and then you'll be ready to begin learning about playbooks and explore the most interesting parts!
|
||||||
detail, and then you'll be ready to dive into playbooks and explore the most interesting parts!
|
|
||||||
|
|
||||||
.. _remote_connection_information:
|
.. _remote_connection_information:
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,6 @@ Installation
|
||||||
|
|
||||||
.. contents:: Topics
|
.. contents:: Topics
|
||||||
|
|
||||||
.. _getting_ansible:
|
|
||||||
|
|
||||||
Getting Ansible
|
|
||||||
```````````````
|
|
||||||
|
|
||||||
You may also wish to follow the `GitHub project <https://github.com/ansible/ansible>`_ if
|
|
||||||
you have a GitHub account. This is also where we keep the issue tracker for sharing
|
|
||||||
bugs and feature ideas.
|
|
||||||
|
|
||||||
.. _what_will_be_installed:
|
.. _what_will_be_installed:
|
||||||
|
|
||||||
|
@ -304,13 +296,15 @@ open source projects.
|
||||||
If you are intending to use Tower as the Control Machine, do not use a source install. Please use OS package manager (like ``apt/yum``) or ``pip`` to install a stable version.
|
If you are intending to use Tower as the Control Machine, do not use a source install. Please use OS package manager (like ``apt/yum``) or ``pip`` to install a stable version.
|
||||||
|
|
||||||
|
|
||||||
To install from source.
|
To install from source, clone the Ansible git repository:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ git clone git://github.com/ansible/ansible.git --recursive
|
$ git clone git://github.com/ansible/ansible.git --recursive
|
||||||
$ cd ./ansible
|
$ cd ./ansible
|
||||||
|
|
||||||
|
Once git has cloned the Ansible repository, setup the Ansible environment:
|
||||||
|
|
||||||
Using Bash:
|
Using Bash:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
@ -373,6 +367,16 @@ Now let's test things with a ping command:
|
||||||
|
|
||||||
You can also use "sudo make install".
|
You can also use "sudo make install".
|
||||||
|
|
||||||
|
.. _getting_ansible:
|
||||||
|
|
||||||
|
Ansible on GitHub
|
||||||
|
`````````````````
|
||||||
|
|
||||||
|
You may also wish to follow the `GitHub project <https://github.com/ansible/ansible>`_ if
|
||||||
|
you have a GitHub account. This is also where we keep the issue tracker for sharing
|
||||||
|
bugs and feature ideas.
|
||||||
|
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
:doc:`intro_adhoc`
|
:doc:`intro_adhoc`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue