Installing Ansible

Bring your Vagrant environment back up that you created earlier on and SSH onto the Ansible server. For this example, only ansiblemon1, and osd1 will be needed, as follows:

    vagrant up ansible mon1 osd1

Add the Ansible ppa, as follows:

    $ sudo apt-add-repository ppa:ansible/ansible

The preceding command gives the following output:

Update Advanced Package Tool (APT) sources and install Ansible:

    $ sudo apt-get update && sudo apt-get install ansible -y

The preceding command gives the following output:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.174.253