Ansible
Inventory structure
inventory/
│── hosts # Inventory file defining groups
│── group_vars/ # Directory for group variables (Optional)
│ ├── all.yml # Variables applied to all hosts (Optional)
│ ├── webservers.yml # Variables for 'webservers' group
│ ├── dbservers.yml # Variables for 'dbservers' group
│── host_vars/ # Directory for host-specific variables
│ ├── host1.yml # Variables for 'host1'
│ ├── host2.yml # Variables for 'host2'
playbooks/
│── site.yml # Your main playbookLast updated