Refactor common_targets structure in config.yaml: change from targets list to a more concise format and update NAMU-PC and r86s to use sets for common targets.
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
common_targets: &common
|
common_targets: &common
|
||||||
targets:
|
|
||||||
- name: r2.gr7.kkarolis.lt
|
- name: r2.gr7.kkarolis.lt
|
||||||
address: 192.168.20.1
|
address: 192.168.20.1
|
||||||
module: icmp_ttl5
|
module: icmp_ttl5
|
||||||
@@ -46,9 +45,11 @@ NAMU-PC:
|
|||||||
labels:
|
labels:
|
||||||
- location: kv40
|
- location: kv40
|
||||||
targets: []
|
targets: []
|
||||||
<<: *common
|
sets:
|
||||||
|
- *common
|
||||||
r86s:
|
r86s:
|
||||||
labels:
|
labels:
|
||||||
- location: gr7
|
- location: gr7
|
||||||
targets: []
|
targets: []
|
||||||
<<: *common
|
sets:
|
||||||
|
- *common
|
Reference in New Issue
Block a user