From the course: Automating Kubernetes with GitOps
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Ansible and GitOps - Kubernetes Tutorial
From the course: Automating Kubernetes with GitOps
Ansible and GitOps
- So, let's explore how Ansible can be used in a GitOps environment. Ansible is a solution used to manage configuration as code. And configuration as code by itself is not GitOps, but it can be a common part of a GitOps environment. And if the Ansible command line is used, configuration manifests in Git repositories are started manually. But there is also Ansible AWX, which is also known as Ansible Tower or Ansible Automation platform. It's all basically the same. When that is used, webhooks can be configured on tasks, and that is where it's becoming real interesting. Before continuing, let me make a drawing to show you how Ansible can integrate in the GitOps environment and what are the alternatives. All right, here we have these status in Git and the corresponding status in Kubernetes. How is Ansible going to play a role in all of that? Well, if you have Ansible from the command line, you can go for the manual execution, where the manual execution just means that you are going to…