1. Update the packages: ```sudo apt-get update``` 2. Install docker compose: * ```sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose``` * ```sudo chmod +x /usr/local/bin/docker-compose``` * ```sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose``` * To check the version ```docker-compose --version``` 3. Install Docker * ```sudo apt update``` * ```sudo apt install docker.io ``` * ```docker --version``` 4. Install Ansible * ``` sudo apt update``` * ``` sudo apt install ansible``` * ```ansible --version``` 5. ```sudo apt install nodejs npm``` 6. ```sudo apt install python3-pip git pwgen unzip``` 7. ```sudo pip3 install requests==2.22.0 docker-compose==1.29.2``` 8. Download the awx package : * ```wget https://github.com/ansible/awx/archive/17.1.0.zip``` * ```unzip 17.1.0.zip``` 9. Go into the directory and generate a random password * ```cd awx-17.1.0/installer/``` * ```pwgen -N 1 -s 30``` 10. In the same directory open the inventory file. Inside that change ```admin_user,admin_password``` and change ```secret_key``` to the pwgen generated. 11. Run the ansible playbook command * ```ansible-playbook -i inventory install.yml ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up