--- - hosts: platform_agnostic gather_facts: no connection: local vars: limit_to: "*" debug: false roles: - { role: net_system, when: "limit_to in ['*', 'net_system']" } - { role: net_banner, when: "limit_to in ['*', 'net_banner']" } - { role: net_command, when: "limit_to in ['*', 'net_command']" } - { role: net_user, when: "limit_to in ['*', 'net_user']" } - { role: net_vlan, when: "limit_to in ['*', 'net_vlan']" } - { role: net_vrf, when: "limit_to in ['*', 'net_vrf']" }