https://github.com/btr1975/awx_vagrant
A Ubuntu 20.04 LTS Prepped for AWX (Ansible-Tower Open Source)
https://github.com/btr1975/awx_vagrant
ansible awx bash python shell-script ubuntu ubuntu2004 vagrant vagrantfile
Last synced: 7 months ago
JSON representation
A Ubuntu 20.04 LTS Prepped for AWX (Ansible-Tower Open Source)
- Host: GitHub
- URL: https://github.com/btr1975/awx_vagrant
- Owner: btr1975
- Created: 2018-11-19T16:04:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T16:28:35.000Z (over 3 years ago)
- Last Synced: 2025-02-02T15:27:53.753Z (9 months ago)
- Topics: ansible, awx, bash, python, shell-script, ubuntu, ubuntu2004, vagrant, vagrantfile
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# awx_vagrant
A Ubuntu 20.04 LTS Prepped for AWX (Ansible-Tower Open Source)# Reference
[AWX Install Reference](https://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md)# Some Directions
* Modify the ip so you can use it
* The lowest memory you should use for install is 4096
```ruby
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
```shell
# 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://:8043/
#
# API
# https://:8043/api/v2/
```