rougail/tests/dictionaries/70services_ip_iplist2/yml/00-base.yml

27 lines
443 B
YAML
Raw Normal View History

2022-11-02 22:52:50 +01:00
version: '0.10'
services:
- service:
- name: nut
ip:
- iplist: example
text: nut_monitor_host
variables:
- variable:
- name: condition
2022-11-02 22:52:50 +01:00
value:
- text: 'yes'
- 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