title: Debian 10 - Ansible 2.10 AWX 17.0.1 Installation without Openshift or Kubernetes
body: <p>I'm currently trying to install AWX on a debian10 VM.
  I followed a lot of tutorial always saying the same thing but I'm not able to have AWX installed.
  It seems that the version 17.0.1 only installs on Openshift or Kubernetes clusters.
  On my side I only want it running on a local docker (I installed the prerequisites : docker-ce, docker-compose via pip3, ansible 2.10 with community-docker collection, ...)</p>
  <p>When launching the installation through : ansible-playbook -i inventory install.yml, it skips all the kubernetes steps and finish like this :</p>
  <pre><code>*TASK [kubernetes : update django super user password] ***************************************************************************************************************************************************************************************
  skipping: [localhost]
  TASK [kubernetes : Create the default organization if it is needed.] ************************************************************************************************************************************************************************
  skipping: [localhost]
  TASK [kubernetes : Delete management pod] ***************************************************************************************************************************************************************************************************
  skipping: [localhost]
  TASK [kubernetes : Scale up deployment] *****************************************************************************************************************************************************************************************************
  skipping: [localhost]
  PLAY RECAP **********************************************************************************************************************************************************************************************************************************
  localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=49   rescued=0    ignored=0*
  </code></pre>
  <p>I saw in the documentation this thing :</p>
  <pre><code>Choose a deployment platform
  
  We currently support running AWX as a containerized application using Docker images deployed to either an OpenShift cluster or a Kubernetes cluster. The remainder of this document will walk you through the process of building the images, and deploying them to either platform.
  
  The installer directory contains an inventory file, and a playbook, install.yml. You'll begin by setting variables in the inventory file according to the platform you wish to use, and then you'll start the image build and deployment process by running the playbook.
  
  In the sections below, you'll find deployment details and instructions for each platform:
  
      OpenShift
      Kubernetes
  </code></pre>
  <p>Does it mean we can no more install it on a local docker using ansible ?
  Thanks for help</p>
  <hr />
  <p>[ Edit 25/02 ]
  I looked deeper to the issue and found something strange.
  I got the code through git clone (git clone <a href="https://github.com/ansible/awx.git" rel="nofollow noreferrer">https://github.com/ansible/awx.git</a>) and here is my install.yml file content :</p>
  <pre><code>---
  - name: Build and deploy AWX
    hosts: all
    roles:
      - {role: check_vars}
      - {role: kubernetes, when: &quot;openshift_host is defined or kubernetes_context is defined&quot;}
  </code></pre>
  <p>Nothing else related to local_docker</p>
  <p>But when I look directly to the source code for this last version on github, here is what I see for install.yml :</p>
  <pre><code>---
  - name: Build and deploy AWX
    hosts: all
    roles:
      - {role: check_vars}
      - {role: image_build, when: &quot;dockerhub_base is not defined&quot;}
      - {role: image_push, when: &quot;docker_registry is defined and dockerhub_base is not defined&quot;}
      - {role: kubernetes, when: &quot;openshift_host is defined or kubernetes_context is defined&quot;}
      - {role: local_docker, when: &quot;openshift_host is not defined and kubernetes_context is not defined&quot;}
  </code></pre>
  <p>So I know why awx is not installing but I don't know why my git clone do not retrieve the &quot;good&quot; code.</p>