Skip to content

Commit e8b9841

Browse files
author
lerndevops
authored
Update Tower
1 parent 9c3284d commit e8b9841

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

ansible/Tower

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
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-
1+
1 git clone http://github.com/lerndevops/labs
2+
2 cd labs/ansible/install/
3+
3 ./installAnsible.sh
4+
5 apt-get install software-properties-common
5+
6 add-apt-repository ppa:deadsnakes/ppa
6+
7 apt-get update
7+
8 apt-get install python3.6
8+
9 apt-get remove python2.7
9+
10 cd ..
10+
11 cd docker/
11+
12 ./install/installDocker.sh
12+
13 cd
13+
14 git clone https://github.com/ansible/awx
14+
15 cd awx/installer/
15+
16 ls
16+
17 ansible --version
17+
18 cd
18+
19 cd labs/ansible/install/
19+
20 ./installAnsible.sh
20+
21 cd
21+
22 cd awx/
22+
23 cd installer/
23+
32 apt install python3-docker
24+
38 apt-get install python3-pip
25+
39 pip3 install docker-compose
26+
40 ansible-playbook -i inventory install.yml
27+
docker ps

0 commit comments

Comments
 (0)