Skip to content

A Ubuntu 20.04 LTS Prepped for AWX (Ansible-Tower Open Source)

Notifications You must be signed in to change notification settings

btr1975/awx_vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

awx_vagrant

A Ubuntu 20.04 LTS Prepped for AWX (Ansible-Tower Open Source)

Reference

AWX Install Reference

Some Directions

  • Modify the ip so you can use it
  • The lowest memory you should use for install is 4096
Vagrant.configure("2") do |config|
    config.vm.define "my-awx-server" do |awx|
        awx.vm.box = "ubuntu/focal64"
        awx.vm.hostname = "my-awx-server"
        awx.vm.network "public_network", ip: "10.0.0.70"
        config.vm.provider "virtualbox" do |v|
            v.cpus = 2
            v.memory = 8192
            v.name = "my-awx-server"
        end
        awx.vm.provision :shell, path: "install_awx_requirements.sh"
    end
end
  • Install directions, this is also located in the shell script
# Step 1: Build docker images
#     go to directory /home/vagrant/awx
#     run "make docker-compose-build"
#
# Step 2: Start AWX
#     go to directory /home/vagrant/awx
#     run "make docker-compose COMPOSE_UP_OPTS=-d"
#
#     After running this step it will take a bit on the first time
#     You can check log by running "docker container logs tools_awx_1"
#
#     You can move on to the next step after the dB migrations are complete
#
#     They look something like this
#     Applying main.0124_execution_environments... OK
#     Applying main.0125_more_ee_modeling_changes... OK
#     Applying main.0126_executionenvironment_container_options... OK
#
# Step 3: On first use to build the UI
#     run "docker exec tools_awx_1 make clean-ui ui-devel"
#
#     This step will take a while to complete
#
# Step 4: On first use to add you as a super user
#     run "docker exec -ti tools_awx_1 awx-manage createsuperuser"
#
# Step 5: Accessing AWX
#    MAIN GUI
#    https://<the_ip>:8043/
#
#    API
#    https://<the_ip>:8043/api/v2/