[{"data":1,"prerenderedAt":214},["ShallowReactive",2],{"term-a\u002Fansible":3,"related-a\u002Fansible":196},{"id":4,"title":5,"acronym":6,"body":7,"category":176,"description":177,"difficulty":178,"extension":179,"letter":180,"meta":181,"navigation":182,"path":183,"related":184,"seo":190,"sitemap":191,"stem":194,"subcategory":6,"__hash__":195},"terms\u002Fterms\u002Fa\u002Fansible.md","Ansible",null,{"type":8,"value":9,"toc":170},"minimark",[10,15,19,23,26,30,159,163,166],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Ansible is a tool that lets you automate the setup of servers by writing scripts called playbooks. Instead of SSH-ing into 50 servers and manually running commands, you write what you want done and Ansible does it on all of them at once. It's like writing a checklist that robots follow.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Ansible is an agentless IT automation tool that uses YAML-based playbooks to configure systems, deploy applications, and orchestrate infrastructure tasks over SSH. Unlike Terraform (which provisions infrastructure), Ansible focuses on configuration management of existing servers.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# playbook.yml\n- hosts: web_servers\n  tasks:\n    - name: Install nginx\n      apt:\n        name: nginx\n        state: present\n    - name: Start nginx\n      service:\n        name: nginx\n        state: started\n","yaml","",[38,39,40,49,67,76,90,98,109,120,132,140,149],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# playbook.yml\n",[41,50,52,56,60,63],{"class":43,"line":51},2,[41,53,55],{"class":54},"sMK4o","-",[41,57,59],{"class":58},"swJcz"," hosts",[41,61,62],{"class":54},":",[41,64,66],{"class":65},"sfazB"," web_servers\n",[41,68,70,73],{"class":43,"line":69},3,[41,71,72],{"class":58},"  tasks",[41,74,75],{"class":54},":\n",[41,77,79,82,85,87],{"class":43,"line":78},4,[41,80,81],{"class":54},"    -",[41,83,84],{"class":58}," name",[41,86,62],{"class":54},[41,88,89],{"class":65}," Install nginx\n",[41,91,93,96],{"class":43,"line":92},5,[41,94,95],{"class":58},"      apt",[41,97,75],{"class":54},[41,99,101,104,106],{"class":43,"line":100},6,[41,102,103],{"class":58},"        name",[41,105,62],{"class":54},[41,107,108],{"class":65}," nginx\n",[41,110,112,115,117],{"class":43,"line":111},7,[41,113,114],{"class":58},"        state",[41,116,62],{"class":54},[41,118,119],{"class":65}," present\n",[41,121,123,125,127,129],{"class":43,"line":122},8,[41,124,81],{"class":54},[41,126,84],{"class":58},[41,128,62],{"class":54},[41,130,131],{"class":65}," Start nginx\n",[41,133,135,138],{"class":43,"line":134},9,[41,136,137],{"class":58},"      service",[41,139,75],{"class":54},[41,141,143,145,147],{"class":43,"line":142},10,[41,144,103],{"class":58},[41,146,62],{"class":54},[41,148,108],{"class":65},[41,150,152,154,156],{"class":43,"line":151},11,[41,153,114],{"class":58},[41,155,62],{"class":54},[41,157,158],{"class":65}," started\n",[11,160,162],{"id":161},"when-youll-hear-this","When You'll Hear This",[16,164,165],{},"\"Use Ansible to configure all the new servers automatically.\" \u002F \"The Ansible playbook sets up nginx, deploys the app, and configures firewall rules.\"",[167,168,169],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":171},[172,173,174,175],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":161,"depth":51,"text":162},"cicd","Ansible is a tool that lets you automate the setup of servers by writing scripts called playbooks.","intermediate","md","a",{},true,"\u002Fterms\u002Fa\u002Fansible",[185,186,187,188,189],"IaC","Terraform","Chef","Puppet","Infrastructure as Code",{"title":5,"description":177},{"changefreq":192,"priority":193},"weekly",0.7,"terms\u002Fa\u002Fansible","QMyAT-GCJgUewJSizOSKP5IDwVWx3vvSPNJqbDvs_Ik",[197,201,204,208,211],{"title":187,"path":198,"acronym":6,"category":176,"difficulty":199,"description":200},"\u002Fterms\u002Fc\u002Fchef","advanced","Chef is an older infrastructure automation tool where you write 'recipes' and 'cookbooks' to describe how servers should be configured.",{"title":185,"path":202,"acronym":189,"category":176,"difficulty":178,"description":203},"\u002Fterms\u002Fi\u002Fiac","IaC is shorthand for Infrastructure as Code — the idea that your servers and cloud setup should be written in files, not clicked together in a UI.",{"title":189,"path":205,"acronym":6,"category":206,"difficulty":178,"description":207},"\u002Fterms\u002Fi\u002Finfrastructure-as-code","cloud","ClickOps means building your cloud infrastructure by clicking buttons in AWS console.",{"title":188,"path":209,"acronym":6,"category":176,"difficulty":199,"description":210},"\u002Fterms\u002Fp\u002Fpuppet","Puppet is an old-school infrastructure automation tool that describes the desired state of your servers in a language called Puppet DSL.",{"title":186,"path":212,"acronym":6,"category":176,"difficulty":178,"description":213},"\u002Fterms\u002Ft\u002Fterraform","Terraform is a tool that lets you describe your entire cloud infrastructure in code files, then type one command to make it real.",1776518255265]