Get the App
SLTechnology News&Howtos  ›  Servers  › 

Install and configure AWX tutorials on Debian

Shulou Source: shulou.com Published: 2022-06-01 12:20:52 10月02日 Update

This article focuses on the "installation and configuration of AWX on Debian tutorial", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn the "installation and configuration of AWX on Debian tutorial"!

AnsibleWorks AWX is a paid version of Ansible that can be used for free, but can only manage up to 10 hosts. AWX provides a Web-based interface, including REST API, role access control, Job templates and other functions.

AWX only supports installation on RHEL/CentOS 6 and Ubuntu 12.04 and above by default. Because AWX itself is also deployed by Playbook, we only need to modify it to install it on Debian.

After downloading the installation package for AWX, unpack the standby package first:

The code is as follows:

Tar zxvf awx-setup-latest.tar.gz

Next, get the following modification file:

The code is as follows:

Https://gist.github.com/xuxiaodong/7923544: corresponding roles/packages_ubuntu/tasks/main.yml file

Https://gist.github.com/xuxiaodong/7923564: corresponding roles/postgres/tasks/main.yml file

Https://gist.github.com/xuxiaodong/7923574: corresponding roles/misc/tasks/main.yml file

Https://gist.github.com/xuxiaodong/7923608: corresponding site.yml file

At the same time, modify the group_vars/all as needed and set the password.

Then, execute:

The code is as follows:

. / setup.sh

The installation process of AWX begins.

When the installation is complete, go to / etc/apache2/sites-enabled and create two symbolic links:

The code is as follows:

Ln-s.. / conf.d/awx.conf.

Ln-s.. / conf.d/awx-plain.conf.

In addition, you need to comment out the Require all denied in / etc/apache2/apache2.conf.

About to:

The code is as follows:

Options FollowSymLinks

AllowOverride None

Require all denied

Change it to:

The code is as follows:

Options FollowSymLinks

AllowOverride None

# Require all denied

Restart the Apache service and you can access it through https://localhost. The default user for AWX is admin, and the password is the password set in group_vars/all.

At this point, I believe you have a deeper understanding of the "tutorial on installing and configuring AWX on Debian". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Code files tutorials configuration password content version learning practical deeper two host interest function just can be passed at the same time practical practical easy to operate Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Linux macOS Redmi Shulou Information