Created
August 8, 2021 17:38
-
-
Save afahitech/02d065632e64e7ec66b7f418660eb1bf to your computer and use it in GitHub Desktop.
How to install Ansible AWX on Ubuntu 20.04LTS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt update | |
apt install -y docker-ce docker-ce-cli containerd.io | |
sudo usermod -aG docker $USER | |
sudo systemctl restart docker | |
docker version | |
curl -s https://api.github.com/repos/docker/compose/releases/latest | grep browser_download_url | grep docker-compose-Linux-x86_64 | cut -d '"' -f 4 | wget -qi - | |
sudo chmod +x docker-compose-Linux-x86_64 | |
docker-compose version | |
sudo apt install -y ansible | |
ansible --version | |
sudo apt install -y nodejs npm | |
apt-get install -f npm | |
npm -v | |
sudo npm install npm --global | |
sudo apt install -y python3-pip git pwgen | |
sudo pip3 install docker-compose==1.28.5 | |
ansible-playbook -i inventory install.yml | |
http://server-ip-address |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment