Commit fc8e1a79 authored by nanahira's avatar nanahira

add no links

parent 0f1e9e7c
......@@ -56,13 +56,13 @@
vars:
conn: '{{item}}'
with_items: '{{ connections }}'
when: "item.protocol == 'null'"
when: "not noUpdateLinks and item.protocol == 'null'"
- name: 'loop through list from a variable'
include_tasks: 'protocols/{{item.protocol}}/configure.yaml'
vars:
conn: '{{item}}'
with_items: '{{ connections }}'
when: "item.protocol != 'null'"
when: "not noUpdateLinks and item.protocol != 'null'"
# end
- name: services conf
copy:
......
......@@ -111,6 +111,7 @@ class InventoryBuilder {
const vars = {
routeLists: this.routeLists,
routeListNames: Object.keys(this.routeLists),
noUpdateLinks: !!process.env.NO_LINKS
};
for (let col in raw_utility) {
vars[col] = raw_utility[col].value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment