Skip to content
Snippets Groups Projects
Commit 5c923cb0 authored by Attila Farkas's avatar Attila Farkas
Browse files

fix ansible failure when no router is defined

parent c5a7725a
No related branches found
No related tags found
1 merge request!7Resolve Refactoring
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment