All my posts about DevOps
Ansible AWX
It has been a while as I have been busy writing, I thought I would spend some of my freetime having a very quick play with Ansible AWX↗ , which is the Open Source version of Ansible Tower↗ . I created the following Vagrantfile to launch a CentOS 7↗ server; Ansible AWX 1/3 # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "centos/7" config.vm.provider :virtualbox do |v| v.memory = 4048 v.cpus = 2 v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] v.customize ["modifyvm", :id, "--ioapic", "on"] end config.vm.define "awx" do |awx| awx.vm.hostname = "awx.local" awx.vm.network :forwarded_port, guest: "80", host: "8080" awx.vm.provision :ansible do |ansible| ansible.playbook = "playbook.yml" ansible.become = true end end end This launches the following playbook.yml which prepares the CentOS 7 box by installing Docker and the other prerequisites need to build and launch AWX; ...