November 2017
Intermediate to advanced
298 pages
7h 10m
English
The standard layout for a project is usually split into roles that define functionality slices with the rest of the configurations basically just supporting those roles. The basic file structure of Ansible projects looks something like this (though more complex setups are often needed):
.├── group_vars│ └── all├── hosts├── named-role-1-server.yml└── roles ├── named-role-1 │ ├── tasks │ │ └── main.yml │ ├── files │ │ └── ... │ ├── templates │ │ └── ... │ └── vars │ └── main.yml ...
Let us break down the basic structure of this filesystem tree and see how each piece is used in the bigger picture:
Read now
Unlock full access