Running the playbook

Now that we have updated the inventory file, we can run the install.yml playbook to kick off the Ansible Tower installation. To do this, run the following command:

$ ansible-playbook -i inventory --become install.yml

There are checks built into the playbook to see if the playbook is being run as the root user. In a typical installation, the playbook is expecting you to be running the playbook as the root user on the machine you want Ansible Tower to be installed on. However, we are doing things slightly differently, so we need to use the --become flag.

The installation process takes around 20 minutes and, as you can see from the following output, the installer works through a lot of tasks:

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

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