diff --git a/templates/device_configuration b/templates/device_configuration index 90697be2a11c70a7579980c5badacf792197c143..056e19806fae62a00131a4ae13a3c87ec4a7cae8 100644 --- a/templates/device_configuration +++ b/templates/device_configuration @@ -19,8 +19,11 @@ - name: Configuring routers hosts: routers become: yes - roles: - - routers + tasks: + - name: include role + include_role: + name: routers + when: config.routers - name: Configuring devices separately hosts: all