Skip to content

Commit 3356e2e

Browse files
author
lerndevops
authored
Create Tower
1 parent 44b52b4 commit 3356e2e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

ansible/Tower

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
1 git clone https://github.com/ansible/awx
2+
2 git clone https://github.com/lerndevops/labs
3+
3 cd labs/
4+
4 cd ansible/
5+
5 ./installAnsible.sh
6+
6 apt-get update
7+
7 easy_install pip
8+
8 apt update
9+
9 apt install python3-pip
10+
10 apt-get update
11+
11 sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
12+
12 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
13+
13 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
14+
$(lsb_release -cs) \
15+
stable"
16+
14 sudo apt-get update
17+
15 apt-get install docker-ce docker-ce-cli containerd.io
18+
16 docker -v
19+
18 apt install python-pip
20+
19 pip install docker-compose
21+
22 cd ../..
22+
23 cd awx/
23+
24 ls
24+
25 cd installer/
25+
26 ls
26+
28 ansible-playbook -i inventory install.yml
27+
29 docker ps
28+

0 commit comments

Comments
 (0)