2022-11-02 22:52:50 +01:00
|
|
|
version: '0.10'
|
|
|
|
services:
|
|
|
|
- service:
|
|
|
|
- name: nut
|
|
|
|
ip:
|
|
|
|
- iplist: example
|
|
|
|
text: nut_monitor_host
|
|
|
|
variables:
|
|
|
|
- variable:
|
2022-11-10 19:09:19 +01:00
|
|
|
- name: condition
|
2022-11-02 22:52:50 +01:00
|
|
|
value:
|
|
|
|
- text: 'yes'
|
2022-11-10 19:09:19 +01:00
|
|
|
- name: nut_monitor_host
|
2022-11-02 22:52:50 +01:00
|
|
|
type: network_cidr
|
2022-11-03 22:16:52 +01:00
|
|
|
mandatory: true
|
2022-11-02 22:52:50 +01:00
|
|
|
value:
|
|
|
|
- text: 192.168.0.0/24
|
|
|
|
constraints:
|
|
|
|
- condition:
|
|
|
|
- name: disabled_if_in
|
|
|
|
source: condition
|
|
|
|
param:
|
|
|
|
- text: 'yes'
|
|
|
|
target:
|
|
|
|
- type: iplist
|
|
|
|
text: example
|