--- - 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']" } - { role: junos_interface, when: "limit_to in ['*', 'junos_interface']" } - { role: junos_banner, when: "limit_to in ['*', 'junos_banner']" } - { role: junos_system, when: "limit_to in ['*', 'junos_system']" } - { role: junos_logging, when: "limit_to in ['*', 'junos_logging']" }