{"id":2545,"date":"2025-03-13T13:49:46","date_gmt":"2022-08-19T22:25:26","guid":{"rendered":""},"modified":"2025-02-02T00:46:18","modified_gmt":"2025-02-01T23:46:18","slug":"how-to-install-ansible-awx-on-debian-10","status":"publish","type":"post","link":"https:\/\/netcloud24.com\/knowledgebase\/how-to-install-ansible-awx-on-debian-10\/","title":{"rendered":"Linux VPS &#038; VPS Windows Setup Guide | NetCloud24 Ansible AWX on Debian 10"},"content":{"rendered":"<p>\u00a0<\/p>\n<\/p>\n<header>\n<h1>\u00a0<\/h1>\n<\/header>\n<article>\n<p>Ansible AWX is an open-source version of Ansible Tower, a web-based user interface that helps you manage Ansible playbooks, inventories, and schedule jobs. In this guide, we&#8217;ll walk you through the installation of Ansible AWX on Debian 10. Whether you\u2019re hosting it on a Linux server or using a , the steps outlined will help you successfully set up AWX. For users looking for performance and control, hosting AWX on a  server can provide an excellent solution.<\/p>\n<h2>Prerequisites<\/h2>\n<p>Before proceeding, ensure that you have the following prerequisites:<\/p>\n<ul>\n<li>A Debian 10 server with root access.<\/li>\n<li>Docker and Docker Compose installed.<\/li>\n<li>At least 4 GB of RAM for the AWX setup.<\/li>\n<\/ul>\n<p>If you&#8217;re using <a href=\"https:\/\/ie.netcloud24.com\">Windows VPSVirtual Private Servers<\/a>, make sure Docker is installed and properly configured on your Windows VPSenvironment.<\/p>\n<h2>Step 1: Update Your System<\/h2>\n<p>Begin by updating your Debian 10 system to ensure all packages are up to date:<\/p>\n<pre><code>sudo apt update &amp;&amp; sudo apt upgrade -y<\/code><\/pre>\n<h2>Step 2: Install Docker and Docker Compose<\/h2>\n<p>Ansible AWX runs on top of Docker, so you&#8217;ll need to install Docker and Docker Compose. Run the following commands to install Docker:<\/p>\n<pre><code>sudo apt install docker.io -y\r\nsudo systemctl start docker\r\nsudo systemctl enable docker<\/code><\/pre>\n<p>Next, install Docker Compose:<\/p>\n<pre><code>sudo apt install docker-compose -y<\/code><\/pre>\n<h2>Step 3: Clone the AWX Repository<\/h2>\n<p>Clone the AWX repository from GitHub to get the latest version:<\/p>\n<pre><code>git clone https:\/\/github.com\/ansible\/awx.git<\/code><\/pre>\n<p>Navigate into the cloned directory:<\/p>\n<pre><code>cd awx\/installer<\/code><\/pre>\n<h2>Step 4: Configure Ansible AWX<\/h2>\n<p>Edit the inventory file to configure the AWX setup. Use a text editor to open the inventory file:<\/p>\n<pre><code>sudo nano inventory<\/code><\/pre>\n<p>Update the following variables in the file:<\/p>\n<ul>\n<li><code>postgres_data_dir<\/code>: Location of the PostgreSQL data.<\/li>\n<li><code>docker_compose_dir<\/code>: Location of your Docker Compose files.<\/li>\n<\/ul>\n<h2>Step 5: Install Ansible AWX<\/h2>\n<p>To start the installation process, run the following command:<\/p>\n<pre><code>sudo ansible-playbook -i inventory install.yml<\/code><\/pre>\n<p>This command will set up Ansible AWX using Docker. The process may take a few minutes.<\/p>\n<h2>Step 6: Access Ansible AWX<\/h2>\n<p>Once the installation is complete, you can access the AWX web interface by navigating to your server\u2019s IP address or domain on port 80. For example:<\/p>\n<pre><code>http:\/\/yourserver_ip_or_domain<\/code><\/pre>\n<p>The default username is <code>admin<\/code> and the default password is <code>password<\/code>. Be sure to change these after your first login.<\/p>\n<h2>Benefits of Hosting Ansible AWX on a VPS<\/h2>\n<p>Hosting Ansible AWX on a  provides you with dedicated resources for running your automation workflows efficiently. A <a href=\"https:\/\/ie.netcloud24.com\">Windows VPSServer VPS<\/a> ensures that your environment is isolated, scalable, and secure.<\/p>\n<p>Whether you&#8217;re using a <a href=\"https:\/\/ie.netcloud24.com\">UK Windows VPS<\/a> or a <a href=\"https:\/\/ie.netcloud24.com\">Microsoft SQL VPS Windows<\/a>, a virtual private server offers flexibility and control, especially when managing large-scale deployments. Choosing <a href=\"https:\/\/ie.netcloud24.com\">Windows VPS Hosting UK<\/a> guarantees excellent performance and support for your automation needs.<\/p>\n<h2>Conclusion<\/h2>\n<p>Ansible AWX is a powerful tool for managing your infrastructure automation. Installing AWX on Debian 10 allows you to leverage Docker for easy setup and deployment. If you&#8217;re looking for a reliable and scalable hosting environment, consider using <a href=\"https:\/\/ie.netcloud24.com\">Windows VPS<\/a> for better control and performance of your automation infrastructure.<\/p>\n<\/article>\n<footer>\n<p>\u00a9 2024 VPS Hosting Solutions<\/p>\n<\/footer>\n<div class=\"post-author-box\" style=\"border-top:1px solid #ddd;margin-top:20px;padding-top:15px;\">\n<p><strong>Author:<\/strong> \u0141ukasz Bodziony<\/p>\n<p><strong>Website:<\/strong> <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a><\/p>\n<p><em>\u0141ukasz Bodziony is the CEO and founder of <a href=\"https:\/\/netcloud24.com\" target=\"_blank\" rel=\"dofollow\">NETCLOUD24<\/a>, a global VPS hosting brand proudly originating from Poland. With extensive experience in cloud computing, virtualization, and server management, he delivers high-performance <strong>Windows VPS<\/strong> and <strong>Remote Desktop Services (RDS)<\/strong> solutions to clients across Europe, North America, and beyond.<\/em><\/p>\n<p><em>His expertise covers a wide range of technologies, including <strong>Microsoft Azure<\/strong>, <strong>Proxmox VE<\/strong>, <strong>Amazon Web Services (AWS)<\/strong>, and numerous other virtualization and cloud platforms.<\/em><\/p>\n<p><em>Beyond running his hosting business, \u0141ukasz also provides <strong>professional paid server configuration and optimization services<\/strong> for companies and individuals. Outside of work, he is dedicated to caring for his children and building a secure future for them.<\/em><\/p>\n<p><em>If you are interested in working with him or need expert assistance with your hosting, cloud environment, or server setup, feel free to reach out via <a href=\"https:\/\/ca.netcloud24.com\" target=\"_blank\" rel=\"dofollow\">Windows VPS<\/a>.<\/em><\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 Ansible AWX is an open-source version of Ansible Tower, a web-based user interface that helps you manage Ansible playbooks, inventories, and schedule jobs. In this guide,\u2026<\/p>\n","protected":false},"author":1,"featured_media":3421,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[],"tags":[14,12,11,23,20,21,22,17,7,8,6,10,18,19,15,24,16,5,13,9],"class_list":["post-2545","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-cheapvps","tag-cloudvps","tag-hostingvps","tag-rds","tag-rdscal","tag-remotedesktop","tag-remotedesktopvps","tag-servervps","tag-ukvps","tag-virtualserver","tag-vpshosting","tag-vpsserver","tag-vpssolutions","tag-vpswindows","tag-vpswithwindows","tag-windowsrds","tag-windowsserver","tag-windowsvps","tag-windowsvpshosting","tag-windowsvpsuk"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=2545"}],"version-history":[{"count":0,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/2545\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media\/3421"}],"wp:attachment":[{"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=2545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=2545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netcloud24.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=2545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}