1
00:00:00,900 --> 00:00:08,130
In this video we will learn what is Ansible, AWACS, what are the features and benefits of AWACS and

2
00:00:08,130 --> 00:00:10,320
how can we go about installing it?

3
00:00:11,130 --> 00:00:15,030
AWACS stands for Ansible Work X.

4
00:00:15,890 --> 00:00:24,920
AWP is a web application or a GWI that provides user interface rest API and task engine for Ansible.

5
00:00:25,820 --> 00:00:32,900
It allows you to manage Ansible playbooks, inventories, run reports and schedule jobs.

6
00:00:33,020 --> 00:00:38,660
Ansible is an open source, community driven management tool.

7
00:00:39,110 --> 00:00:47,840
It is the upstream product, which means all the changes are done on a first before it get to assemble

8
00:00:47,840 --> 00:00:54,770
tower and Ansible Tower is the second product which manage Ansible which we will cover later on.

9
00:00:55,460 --> 00:01:05,240
The A project is hosted on GitHub and Red Hat always welcomes community contributions toward GitHub.

10
00:01:05,990 --> 00:01:10,640
The project uses GitHub for its issue tracking as well.

11
00:01:10,640 --> 00:01:15,680
So if you have an issue, you could file your issue right on this URL.

12
00:01:16,100 --> 00:01:22,760
But of course, it depends on the response time and availability of the developers, how fast they could

13
00:01:22,760 --> 00:01:23,900
get back to you.

14
00:01:24,410 --> 00:01:29,810
Whereas in Ansible Tower you have a defined SLA.

15
00:01:30,170 --> 00:01:36,270
All right, a red hat and does not recommend a poor production environment.

16
00:01:36,290 --> 00:01:39,560
Of course, they will recommend you to go with Ansible Tower.

17
00:01:39,560 --> 00:01:43,340
All right, so assemble a pros and cons.

18
00:01:43,340 --> 00:01:44,360
Let's take a look.

19
00:01:44,750 --> 00:01:47,090
So what are the pros?

20
00:01:48,860 --> 00:01:52,700
Full enterprise features and functionality of tower.

21
00:01:52,700 --> 00:01:53,230
Yes.

22
00:01:53,240 --> 00:01:57,530
Whatever that you see on Ansible Tower.

23
00:01:57,530 --> 00:02:02,500
All the functions, the benefits that it has, all the bells and whistles the tower has.

24
00:02:02,510 --> 00:02:06,950
You could find the same features in a as well.

25
00:02:07,670 --> 00:02:13,850
This is available for free download and use, so you could just get it from anywhere.

26
00:02:14,240 --> 00:02:18,890
More specifically from Ansible website and you could download it or there's a certain procedure, you

27
00:02:18,890 --> 00:02:23,300
could download it through a container and you could and it is free to use.

28
00:02:23,690 --> 00:02:27,440
It is not limited to the number of nodes to be added.

29
00:02:27,440 --> 00:02:34,040
So at certain times you have to pay Ansible Tower based on the number of nodes that you will be managing.

30
00:02:34,040 --> 00:02:36,500
So with this one there is no limit.

31
00:02:36,860 --> 00:02:44,510
It is great for POC, which is a proof of concept for developing environmental lab or queue environments.

32
00:02:44,540 --> 00:02:44,780
All right.

33
00:02:44,780 --> 00:02:46,670
Let's take a look at cons.

34
00:02:47,570 --> 00:02:53,600
There is no technical support for AWACS by Red Hat.

35
00:02:54,230 --> 00:02:57,940
Multiple releases in a single day are possible.

36
00:02:57,960 --> 00:03:00,260
Depends on what is broken.

37
00:03:00,410 --> 00:03:09,230
There are so many contributors to in building this software, so it is possible you could have many

38
00:03:09,230 --> 00:03:10,730
releases in a single day.

39
00:03:11,000 --> 00:03:15,110
It is not recommended by Red Hat to be used in production environment.

40
00:03:15,110 --> 00:03:15,650
All right.

41
00:03:15,650 --> 00:03:24,520
So let's take a look at Ansible installed now please note eight is deployed from the Docker container.

42
00:03:24,530 --> 00:03:31,910
I'm going to go through step by step instruction, but I will not actually go through the actual or

43
00:03:31,910 --> 00:03:39,980
technical deployment or installation on my Linux machine because it requires a certain memory.

44
00:03:39,980 --> 00:03:48,590
At least eight giga memory, certain requirement and prerequisite has to be has to meet resource requirement

45
00:03:48,590 --> 00:03:52,220
in order for you to install in your environment, which I don't have right now.

46
00:03:52,220 --> 00:03:56,060
So we'll just go through a run a dry run install.

47
00:03:56,510 --> 00:03:56,840
All right.

48
00:03:56,840 --> 00:04:00,770
So very first thing you have to do is update your system.

49
00:04:00,770 --> 00:04:04,190
So it simply do DNF or Yum update.

50
00:04:04,190 --> 00:04:08,510
And once your system, Linux system is updated, you can reboot it.

51
00:04:08,510 --> 00:04:13,910
And by the way, this the list that I have at here, I have it.

52
00:04:14,180 --> 00:04:20,900
The installation instruction is four, Santos eight, version eight.

53
00:04:20,900 --> 00:04:27,250
Or it could be applicable on seven as well, but more specifically, Santos eight.

54
00:04:27,260 --> 00:04:27,560
All right.

55
00:04:27,560 --> 00:04:29,540
So once you reboot, it comes back up.

56
00:04:30,020 --> 00:04:35,390
By the way, one one more thing I would recommend before you do anything, please take a snapshot of

57
00:04:35,390 --> 00:04:39,200
your virtual machine where you are installing X.

58
00:04:39,530 --> 00:04:43,850
So in case something goes wrong, you could revert back to its original state.

59
00:04:43,850 --> 00:04:46,910
All right, so right here, you rebooted the system.

60
00:04:46,910 --> 00:04:56,070
Then once it rebooted, then you come down and and run this command jam or DNF either or install EPL

61
00:04:56,150 --> 00:04:56,780
release.

62
00:04:56,780 --> 00:05:00,830
This is to install FPL, release a repository.

63
00:05:01,610 --> 00:05:06,620
Then we will install additional package which are needed by RW X.

64
00:05:06,620 --> 00:05:11,180
And here is a list of all the packages starting from Git ending with Python three pip.

65
00:05:11,840 --> 00:05:14,600
Then we will add a docker repository.

66
00:05:14,730 --> 00:05:21,960
Hurry because as I said, A.W. is deployed from the Docker container, so we have to install Docker.

67
00:05:21,960 --> 00:05:27,300
So before we install Docker we have to have its repository added.

68
00:05:27,300 --> 00:05:34,080
So we'll do DNF config manager add repo and here is the URL for the repository.

69
00:05:34,080 --> 00:05:40,660
Once that is attached, then we will install Docker and for that we'll use DNF, install Docker, dash,

70
00:05:40,710 --> 00:05:41,460
AC.

71
00:05:41,640 --> 00:05:48,420
And you could use the dash dash no best option minus Y to say yes to every problem.

72
00:05:48,930 --> 00:05:54,990
If for some reason this doesn't work, you could use the exact same command and followed by dash dash

73
00:05:54,990 --> 00:06:02,640
allow erasing, which is basically going to erase certain packages that are not needed or certain updating

74
00:06:02,640 --> 00:06:05,400
of packages or removing or certain packages.

75
00:06:05,400 --> 00:06:10,680
So anyway, this will allow you to go and complete the Docker install.

76
00:06:10,710 --> 00:06:18,300
You could check if your Docker installs completed successfully by running the command docker space dash

77
00:06:18,300 --> 00:06:20,100
dash version.

78
00:06:20,760 --> 00:06:21,240
All right.

79
00:06:21,240 --> 00:06:27,270
Once you see the version, beautiful, then you come down and you'll start the Docker, which is sys

80
00:06:27,270 --> 00:06:30,900
CTL, start Docker, and then you enable the Docker at boot.

81
00:06:30,900 --> 00:06:32,100
So it will start a boot.

82
00:06:32,400 --> 00:06:40,710
Then we need to install Docker dash compose package as well and you need a python php three command

83
00:06:40,710 --> 00:06:43,440
to install the docker dash compose.

84
00:06:43,830 --> 00:06:50,340
What's once that is installed, you could do the same command docker version with docker dash compose

85
00:06:50,340 --> 00:06:52,680
command to verify his version.

86
00:06:52,740 --> 00:06:53,040
All right.

87
00:06:53,040 --> 00:06:55,110
So now you have Docker installed already.

88
00:06:55,110 --> 00:06:58,350
You have Docker dash compose package install already.

89
00:06:58,350 --> 00:06:59,130
Very good.

90
00:06:59,130 --> 00:07:02,460
Now set Python command to use Python three.

91
00:07:03,000 --> 00:07:06,060
And for that you have to run this exact same command.

92
00:07:06,270 --> 00:07:11,040
All alternatives dash, dash, set, python and the path.

93
00:07:11,520 --> 00:07:17,370
All right, once that is set and straightforward, now it's time to download the latest version of Ansible

94
00:07:17,370 --> 00:07:21,210
eight from the GitHub repository.

95
00:07:21,450 --> 00:07:29,130
And the exact URL is right here and the command will be get space, clone space, the entire URL.

96
00:07:29,930 --> 00:07:36,780
All right, then once we have that downloaded, we'll generate a secret key for encryption of the inventory

97
00:07:36,780 --> 00:07:39,900
file and copy that output to a text file.

98
00:07:39,900 --> 00:07:46,830
So when you run that command, I want you to open up your text file and copy and paste the output of

99
00:07:46,830 --> 00:07:49,440
this command to your notepad.

100
00:07:49,950 --> 00:07:53,490
So because you will be needing that output.

101
00:07:53,820 --> 00:07:54,120
All right.

102
00:07:54,120 --> 00:07:55,200
Where are you going to be needing?

103
00:07:55,200 --> 00:07:56,490
I'll tell you in a second.

104
00:07:56,490 --> 00:08:03,720
Then the next command is that you change the directory and added the inventory file.

105
00:08:03,840 --> 00:08:11,580
Now if you are installing an older version of X, then you could you could find the installer directory

106
00:08:11,580 --> 00:08:13,190
inside of a exe.

107
00:08:13,380 --> 00:08:23,430
So a directory is is where you have installed or downloaded your A.W. exe package.

108
00:08:23,850 --> 00:08:26,430
So if you are in slash, it will be in Slash.

109
00:08:27,300 --> 00:08:33,540
If you are in slash root, then it would be in slash route slash slash installer.

110
00:08:33,660 --> 00:08:39,270
Now for the newer version of X or there are certain changes that have been made recently.

111
00:08:39,270 --> 00:08:47,550
Today you have to go to a different directory, which is a slash tools, slash Docker, compose, and

112
00:08:47,550 --> 00:08:55,200
you will find the inventory file in that directory instead of installer directory.

113
00:08:55,410 --> 00:08:55,890
All right.

114
00:08:55,890 --> 00:09:02,670
Anyway, either way, check if this is the correct directory or that is the correct directory, you

115
00:09:02,670 --> 00:09:09,570
will find the inventory file in there, then we will edit it and we will add or modify the following

116
00:09:09,570 --> 00:09:10,680
parameters.

117
00:09:10,710 --> 00:09:14,940
Make sure the compose directory it has the correct path.

118
00:09:15,630 --> 00:09:19,620
PostgreSQL data directory waas lib pkg docker.

119
00:09:19,620 --> 00:09:21,810
You just take that and put it in there.

120
00:09:21,810 --> 00:09:23,220
We will create that directory.

121
00:09:23,220 --> 00:09:30,240
If the if doesn't exist, the rest stays the same except you see right here says secret underscore key

122
00:09:30,960 --> 00:09:40,800
equal and this entire key, this key should be replaced with the key that you got by running the open

123
00:09:40,800 --> 00:09:47,940
command, open SSL command and you copy paste that into your notepad, you should copy that again and

124
00:09:47,940 --> 00:09:49,020
paste it right here.

125
00:09:49,560 --> 00:09:53,580
The rest you could take it as is and add or modify there.

126
00:09:53,580 --> 00:10:00,390
Once it is there, you could save the file, then come down and create the directory of PostgreSQL,

127
00:10:00,600 --> 00:10:04,140
which we define in that inventory file.

128
00:10:04,140 --> 00:10:06,900
So make directory one pkg docker.

129
00:10:07,500 --> 00:10:13,890
Then the last thing is install a w x and the command to do that is ansible dash playbook because the

130
00:10:13,890 --> 00:10:14,400
install.

131
00:10:14,490 --> 00:10:22,050
A YAML file has all the instructions to install the exe, so make sure you define the inventory which

132
00:10:22,050 --> 00:10:27,600
is minus inventory and then space install the GMO and.

133
00:10:29,300 --> 00:10:36,980
Most likely, I would say 99% of the time, if you follow this entire instruction, you will have a

134
00:10:36,980 --> 00:10:42,180
running a W X environment or the software.

135
00:10:42,200 --> 00:10:51,200
Then all you have to do is simply go to your browser within your Linux machine and put in local host

136
00:10:51,200 --> 00:10:54,950
in your Firefox browser, and it should pull up UAW.

137
00:10:55,250 --> 00:11:02,990
Now, if you are trying to pull that from a different machine, then make sure the machine that you

138
00:11:02,990 --> 00:11:11,350
have installed on has AC Linux disabled firewall is disabled or it has a port enabled.

139
00:11:11,360 --> 00:11:11,720
All right.

140
00:11:11,720 --> 00:11:14,360
So anyway, these are very simple instructions.

141
00:11:14,930 --> 00:11:22,340
If you get stuck anywhere, I would highly recommend you that you look it up online with the error message

142
00:11:22,340 --> 00:11:23,270
that you received.

143
00:11:23,270 --> 00:11:30,650
And I am very hopeful you'll find your answer and your troubleshooting tips which will help you get

144
00:11:30,650 --> 00:11:33,260
to the successful installation of a x.

145
00:11:34,860 --> 00:11:43,320
Once you have completed the Ansible installation successfully, you could open up any browser and put

146
00:11:43,320 --> 00:11:52,110
the IP address of that machine where you have a installed and it will show you this dashboard.

147
00:11:52,140 --> 00:11:57,270
Of course you have to enter the credentials, username and password and you'll come to this dashboard.

148
00:11:57,270 --> 00:11:58,860
This is the guy.

149
00:11:59,430 --> 00:12:02,370
This is the web interface of Ansible.

150
00:12:03,300 --> 00:12:09,480
And you could see on the left hand side we have a navigation toolbar where you could go to a dashboard

151
00:12:09,480 --> 00:12:15,660
job, schedule jobs, you could create templates, credentials, projects, inventories and so much

152
00:12:15,660 --> 00:12:16,380
more.

153
00:12:16,380 --> 00:12:23,070
Everything that you pretty much do on the command line can be managed through this URL, this gooey.

154
00:12:24,020 --> 00:12:29,530
Ansible Tower, which is the exact same product as Ansible AWACS.

155
00:12:29,900 --> 00:12:38,000
So Ansible Tower is a commercial Ansible management product by RedHat, which comes with support from

156
00:12:38,000 --> 00:12:39,380
RedHat as well.

157
00:12:39,740 --> 00:12:49,370
So Red Hat Ansible Tower is available in two editions that are differentiated by support and its features.

158
00:12:49,670 --> 00:12:56,360
Pricing is based on the number of nodes, systems, hose instances, VMS, containers or devices that

159
00:12:56,360 --> 00:12:57,860
you are managing.

160
00:12:57,860 --> 00:13:01,400
So there are two types of editions.

161
00:13:01,400 --> 00:13:06,260
One is the standard edition, and the second one is the premium edition.

162
00:13:06,560 --> 00:13:14,210
If you want to know side by side comparison of each of these editions, you could go to dub, dub,

163
00:13:14,210 --> 00:13:19,640
dub ansible, slash products, slash pricing.

164
00:13:19,640 --> 00:13:20,900
And that's where you will find.

165
00:13:20,900 --> 00:13:21,800
Exactly.

166
00:13:21,830 --> 00:13:25,610
Apples to apples or apples to oranges comparison.

167
00:13:26,510 --> 00:13:27,110
All right.

168
00:13:27,230 --> 00:13:31,670
So Ansible tower pros and cons, let's take a look at them.

169
00:13:31,670 --> 00:13:39,590
So first thing is pros, you will get 24 hours full technical support from RedHat.

170
00:13:39,620 --> 00:13:48,500
If you are going with Ansible management tool and data tower and the release cycles, there will be

171
00:13:48,500 --> 00:13:57,500
a release cycle at a dedicated time frame or with the dedicated cycles, meaning you might get every

172
00:13:57,500 --> 00:14:02,720
15 days, every 30 days, every quarter.

173
00:14:02,720 --> 00:14:04,860
So there will be cycles of the release.

174
00:14:04,880 --> 00:14:12,500
It's not going to be like a w x where you do not know whether it's released today or released twice

175
00:14:12,500 --> 00:14:13,130
in a day.

176
00:14:14,060 --> 00:14:21,110
Another pro is it is fully tested for quality and engineering issues before release.

177
00:14:21,740 --> 00:14:30,290
Then the install and upgrades for Ansible Tower are well documented and supported.

178
00:14:30,560 --> 00:14:33,080
Now let's take a look at the cons.

179
00:14:33,410 --> 00:14:34,440
It is expensive.

180
00:14:34,460 --> 00:14:42,140
Of course you have to pay for this product if you want to use it and you may need more than ten nodes

181
00:14:42,140 --> 00:14:43,970
for a dev or PSC environment.

182
00:14:43,970 --> 00:14:51,860
So it is actually being sold by the number of nodes that you will be using.

183
00:14:51,860 --> 00:14:56,690
So if you have ten nodes, you could go with the basic one or maybe you could get a trial version as

184
00:14:56,690 --> 00:14:57,140
well.

185
00:14:57,140 --> 00:15:04,670
But what if you have more than ten servers to manage in your dev environment or CPU environment, then

186
00:15:04,670 --> 00:15:09,320
you really cannot use this product in a trial version either.

187
00:15:10,880 --> 00:15:11,300
All right.

188
00:15:11,300 --> 00:15:17,200
Another thing is maybe it's overkill for what you are trying to do.

189
00:15:17,210 --> 00:15:23,180
So maybe Ansible Tower is used for higher and larger enterprises.

190
00:15:23,180 --> 00:15:31,850
And if you are a smaller company, I would say definitely look into Ansible first and see if it is suffices

191
00:15:31,850 --> 00:15:33,440
your requirement.

192
00:15:34,700 --> 00:15:35,030
All right.

193
00:15:35,030 --> 00:15:39,890
Let's take a look at the installation, the Ansible Tower installation.

194
00:15:39,920 --> 00:15:48,500
The the steps are pretty much the same as Ansible, except a very slight differences which you could

195
00:15:48,500 --> 00:15:50,690
find on this URL.

196
00:15:50,690 --> 00:15:57,680
You could go to access dot redhead, dot com slash product slash aspell dash tower, dash red hat.

197
00:15:58,190 --> 00:16:05,450
And I'm sure if you just simply Google it and just type it at Ansible Tower installation, you will

198
00:16:05,450 --> 00:16:12,530
find the right documentation from Red Hat, which will help you go through the installation process

199
00:16:12,530 --> 00:16:13,820
of Ansible Tower.

200
00:16:15,070 --> 00:16:15,340
All right.

201
00:16:15,340 --> 00:16:20,860
So here is what you will see when you complete the Ansible Tower installation.

202
00:16:20,860 --> 00:16:26,650
This dashboard looks very similar, I would say exactly similar to Ansible.

203
00:16:27,550 --> 00:16:34,750
And if you pay close attention to the left hand side, you'll see all that navigation menu the tool

204
00:16:34,750 --> 00:16:40,690
is on the left side would have the same labels and the dashboard looks very similar.

205
00:16:40,840 --> 00:16:46,840
The only difference is that right here you have a tower and an AWACS.

206
00:16:46,840 --> 00:16:48,850
It would say a, w x.
