Skip to content

HariHaran0091/Automation-using-Ansible-Playbooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAML : YAML is a Human readable Data-serialization language.

Let suppose data has to be fed to a python application as an input. Data can be in txt, Json, Yaml format.

But Txt format does not have any standard to follow. Ex: User A can arrange data in rows one by one user B can arrange data in columns format User C can arrange data in alternate lines with spaces in between.

This is where templating languages such as Json, Yaml come handy because they follow a standard, already defined and agreed. Input is passed to Kubernetes and Ansible in Yaml Format.

Ansible Playbook: A Ansible playbook is a list of plays.

Inside a Play:-- hosts: remote-user: task:

  • module ----> For installation the DB server
  • module ----> For starting the DB server
  • module ----> To check the status

Under task, Modules are the ones that performs an action.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published