Professional Documents
Culture Documents
- .
for
→ It is a
data serialization language
|
similar like
all
programming languages
.
✗ ML or JS0N .
is /
process of translating that
into format
objects
be stored or
can
and reconstructed
transmitted
later .
KAMI
* Benefits of
:
and to use
1) simple easy
e) Follows strict
syntax
3)
Easily convertible to ✗ nil or
Json
XML JS0N
YAMAL
with
format
glow
data
faster
faster transmission data
transmission
readability ,
allow comments .
Datatypes
:
& string no
:
images
,
charts ,
boden
Dates timestamp , non -
primitive arrays ,
,
sequences .
It .
objects .
recursive values .
* Amine *
it is tool
configuration Management
.
- a
has
It three
things
- :
platform
Tower : A web 1
Ami ble app
Galaxy
.
of community
large catalogue
created roles .
-
simple .
Reliable
.
Powerful ,
Agent
en .
- Use cases :
deployment
configuration management . .
or@Tn.Prorisiomugfcreati.ng and
setting
automated up IT infrastructure
configuration andofgysterus
management
,
ordination
co
-
comp "Ippi%µioi
* fusible is a tool that provides :
1) IT automation
2)
configuration management
3) Automatic Deployment
pushes
configuration
: server
* Aersibk is
push
nodes
configuration
to .
* fusible workflow :
&
pushing
to nodes
works by
connecting your
.
program
a
modules be reside
The
library of
→ can on
any
.
required .
Host I
"
Ausible "
( A)
group
Management
Mode ssh
Host 2
(group e)
Ssh
µ,
g.gg
,, ,
.my
[ A ]
group Most 3
'
host
[ is ]
(groups )
group
host 2
host IN
* Terms used in Antibes
from which
playbooks & tasks are
and task
executed .
executed
2) Modules :
commands or set of commands
at client -
side
procedure to be completed
single
.
Role :
later called as
playbook .
variable
global
client
regarding
-
data
e)
Inventory
:
file containing
side .
7)
execution
of a
playbook
pay
:
uotifier
only if
is
8) Handler :
The task called a
is
present
.
can
set to task that
It is name
9)
a a
Tag
:
issue that
just
on to
used later
be
group of jobs
.
specific task or
* Aasible Architecture :
interacts with a
→ Amiable orchestration
engine
playbook
ausibk to
the
user who is
writing and interact
execute the ausibk orchestration .
cloud and
collection of configuration Playbooks
↳
out
Module SS4
Node - I
ssq
☐
Inventory Node -2
where
www.a.n
É
installed
.
\ ⇐
☐
Document Node - 3
that
groups
the nodes
under
specific
labels .
y instructions
set of
→
to
configure
nodes
.
the YANK
.
in
written
→
?⃝
play
* books :
- -
-
start
plays
:
-
name
node
hosts
target
.
:
tasks :
*
working
.
local machine .
the
installed only
on
I Ahsible is
Ansibk
agent
en
This makes
.
written at
2) The
playbook , and inventory are
node th
'
connects to the
local machine
3) The
SSH
the facts of each
4) The gathers
local machine
nodes
state of the
.
indicate the
node .
Facts
nodes
5) The send to the
play
.
books are
This
G) The executed
playbooks
-
are now
configures the
* Ausible Tower :
for audible
framework
.
→
It is a
the
- It
provides a Gus .
Thus ,
reducing
window
the command prompt .
dependency
on
commands tasks
Instead
of typing long
.
chick
can now be
performed
in a
single
Public /
configuration
private
Management
cloud Database
Users
ttusible orchestration
engine
.
AP ] stoats
Inventory →
.
Playbooks
Modules
plugins .
→ N1W .
* Installation Architecture :
instances Aws
Create 4
.
on
e)
Master server & run
to Ansi ble -
2) Connect
commands .
Sudo I
a) -
b) apt update
command :
3) install ausibk
by
install auiibk
apt
Version
check ausible
4)
ansible -
-
version
using command
sudo apt
-
get update
and ssh
6) Connect to Ausible -
Master
generate
command
keys using
> ssh
keggen
-
which is in
folder
7) public key
ssh
copy
•
"
ansible server 1
authorized keys
oh
-
"
into
e) Is ~
/ .
Ssh
2) cat v1 . ssh / id -
Ma -
pub
command
1 and
give
.
ausible server
8) Connect to
-
> ssh
kygew
-
master & to
9) Now
begin
to Ausibk -
try
using
command
connect to ansibk server
Ausibk
ways of using
.
→
simplest
issue
commands
to some
when want
→ used
bunch
of servers .
server or
on a
line tool .
command
.
ausibk
→ uses / usr
/ bin /
file
inventory
.
&
-
quick easy in
entry
cause
syntax -
:
→
"
;
ansible < hosts > [ -
in
cmoduk -
name > ] - ae
arguments
I
I
- u < username > [ -
- become]
• £ ( optional )
Captioned By default
-
specifics when we
account command
want to span
user
Values
in
which "d
run
"" "
that
privileged
am "
sudo
ansible
executed operations reg.by
.
can
the
By default
=
module
false .