|
|
@ -23,7 +23,17 @@ What's covered in this section:
|
|
|
|
|
|
|
|
|
|
|
|
Environment setup
|
|
|
|
Environment setup
|
|
|
|
=================
|
|
|
|
=================
|
|
|
|
|
|
|
|
Prerequisites Via Apt (Ubuntu)
|
|
|
|
|
|
|
|
``````````````````````````````
|
|
|
|
|
|
|
|
Due to dependencies (for example ansible -> paramiko -> pynacl -> libffi):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. code:: bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo apt update
|
|
|
|
|
|
|
|
sudo apt install build-essential libssl-dev libffi-dev python-dev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Common Environment setup
|
|
|
|
|
|
|
|
````````````````````````
|
|
|
|
1. Clone the Ansible repository:
|
|
|
|
1. Clone the Ansible repository:
|
|
|
|
``$ git clone https://github.com/ansible/ansible.git``
|
|
|
|
``$ git clone https://github.com/ansible/ansible.git``
|
|
|
|
2. Change directory into the repository root dir: ``$ cd ansible``
|
|
|
|
2. Change directory into the repository root dir: ``$ cd ansible``
|
|
|
|