Skip to main content

Posts

Showing posts with the label Steps

Do You Know How to Install Ansible on 64-bit Ubuntu 14.04 server

You just need to follow below steps: Step 1: Install the software-properties-common package $ sudo apt-get update && sudo apt-get install software-properties-common   Step 2: Add the Ansible repository to your system $ sudo apt-add-repository ppa:ansible/ansible Step 3: Install Ansible $ sudo apt-get update && sudo apt-get install ansible Configuring Ansible Hosts Ansible keeps track of all of the servers that it knows about through a “hosts” file. We need to set up this file first before we can begin to communicate with our other computers. Open the file with root privileges like this: sudo nano /etc/ansible/hosts   Copy You will see a file that has a lot of example configurations, none of which will actually work for us since these hosts are made up. So to start, let’s comment out all of the lines in this file by adding a “#” before each line. We will keep these examples in the file to help us with configuration if we want to implement more complex scenario...