488 B
488 B
Core Concepts
Inventory
File listing managed hosts (servers):
[webservers]
web1.example.com
web2.example.com
[databases]
db1.example.com
Playbooks
YAML files describing desired state:
- name: Install nginx
hosts: webservers
tasks:
- name: Install nginx
apt:
name: nginx
state: present
Modules
Reusable units of work (apt, yum, copy, service, etc.)
Roles
Organized collections of tasks, handlers, and files