From the course: Ansible: From Basics to Guru by Pearson

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Centralizing configuration as code using Git

Centralizing configuration as code using Git - Ansible Tutorial

From the course: Ansible: From Basics to Guru by Pearson

Centralizing configuration as code using Git

All right, before we are really going to investigate how Ansible is working, I'd like to tell you a bit about Git. So what is Git all about? Well, it's all about centralizing configuration as code in such a way that everybody can easily access the same code within a company. So in small environments, configuration as code is often stored on the Ansible operator workstation. Where the answerable operator, that's you. In larger environments, it doesn't work very well if every operator is going to store their code individually. And that is why a central code repository should be used. Git is a de facto standard for managing centralized access to code. And by using Git for storing the code files, versioning can easily be applied to ensure that everyone uses the same code. Now, I'm not going to give you a complete course in Git, but I do want to show you a quick overview of how I'm using GitHub in my daily work. So here we go. So this is the GitHub website, where GitHub is only one of the…

Contents