Ansible Roles



A video describing use of Ansible roles. A simple role is create to deploy vlans showing how to deploy 1 vlan or loop over multiple vlans.

source

2 thoughts on “Ansible Roles”
  1. thank you sir, good explanation- if i want to confiure vlan50 in server1 and vlan 60 in server2 what is the approch in tasks?

  2. Great description of roles in Ansible Nick. Good to note the difference in the include option. Worth noting that the loop with items can take longer if this was implemented on a large deployment, that and the fact that the template file gets overridden.

Leave a Reply

Your email address will not be published.

Captcha loading...