
Ansible & Configuration Management
Playbooks, inventory, modules, roles, handlers, idempotence, provisioning vs configuration, immutable infrastructure
1What is an Ansible playbook?
What is an Ansible playbook?
Antwoord
A playbook is a YAML file that defines a series of tasks to execute on target hosts. It constitutes the basic unit for orchestrating configurations in Ansible. Playbooks allow describing the desired state of systems declaratively, facilitating repeatable automation and large-scale configuration management.
2What is the role of an inventory file in Ansible?
What is the role of an inventory file in Ansible?
Antwoord
The inventory file lists all hosts on which Ansible can execute tasks. It can be in INI or YAML format and allows grouping hosts by logical categories. The inventory can also define host-specific or group-specific variables, facilitating differentiated configuration management based on environments or server roles.
3What does a module represent in Ansible?
What does a module represent in Ansible?
Antwoord
A module is a reusable code unit that performs a specific action on a target system. Ansible provides hundreds of built-in modules for managing packages, files, services, users, and much more. Modules are idempotent by design, meaning they can be executed multiple times without changing the final result if the desired state is already achieved.
How does Ansible connect to target hosts by default?
What does the principle of idempotence mean in Ansible?
+17 gespreksvragen
Andere DevOps-sollicitatieonderwerpen
Version Control & Git
Linux Fundamentals
Shell Scripting & Bash
Networking Basics
Docker Fundamentals
CI/CD Fundamentals
GitHub Actions
GitLab CI/CD
Jenkins
Kubernetes Basics
Kubernetes Networking
Kubernetes Advanced
Ingress & API Gateway
Terraform Basics
Terraform Advanced
AWS Essentials
Azure Fundamentals
GCP Fundamentals
Monitoring & Prometheus
Logging & ELK Stack
Alerting & Incident Response
Cloud Identity & Secrets
CI/CD Pipeline Security
Helm & Kubernetes
Runtime & Cluster Security
Container Supply Chain Security
Service Mesh & Istio
GitOps & ArgoCD
Progressive Delivery
Distributed Observability
Disaster Recovery & Backup
Performance Optimization
Cloud Cost Optimization
SRE Principles
Chaos Engineering
Platform Engineering
Beheers DevOps voor je volgende gesprek
Krijg toegang tot alle vragen, flashcards, technische tests, code review-oefeningen en gespreksimulatoren.
Begin gratis