Skip to Content
Practical Ansible 2
book

Practical Ansible 2

by Daniel Oh, James Freeman, Fabio Alessandro Locati
June 2020
Intermediate to advanced content levelIntermediate to advanced
410 pages
9h 52m
English
Packt Publishing
Content preview from Practical Ansible 2

Installing AWX

Before we can further discuss AWX, it is best if you have it installed on your machine so that you can follow the explanation and immediately start to use AWX. The most convenient way of installing AWX is to follow these steps:

  1. First of all, we need to clone the AWX Git repository, which can be done by running the following command:
$ git clone https://github.com/ansible/awx.git
  1. Modify the installer/inventory file by setting sensible values for the passwords and secrets (such as pg_password, rabbitmq_password, admin_password, and secret_key).
  1. Now that we have downloaded the Ansible AWX code and installer, we can move into the installer folder and execute the installation by running the following code:
$ cd awx/installer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Ansible - Third Edition

Mastering Ansible - Third Edition

James Freeman, Jesse Keating
Security Automation with Ansible 2

Security Automation with Ansible 2

Akash Mahajan, MADHU AKULA

Publisher Resources

ISBN: 9781789807462Supplemental Content