--- - hosts: junos gather_facts: no connection: local vars: limit_to: "*" debug: false roles: - { role: junos_command, when: "limit_to in ['*', 'junos_command']" } - { role: junos_config, when: "limit_to in ['*', 'junos_config']" } - { role: junos_facts, when: "limit_to in ['*', 'junos_facts']" } - { role: junos_netconf, when: "limit_to in ['*', 'junos_netconf']" } - { role: junos_rpc, when: "limit_to in ['*', 'junos_rpc']" } - { role: junos_template, when: "limit_to in ['*', 'junos_template']" } - { role: junos_vlan, when: "limit_to in ['*', 'junos_vlan']" }