menu_book Course Curriculum (Ansible) expand_more
Playbook Foundations
Variables and Logic
Roles and Reuse
Production Operations
include_role
Learn include_role in Ansible through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Intermediate
ansible-019.yml
yaml
- ansible.builtin.include_role:
name: nginx
vars:
nginx_port: 8080
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content