version: '0.10' services: - service: - name: nut ip: - ip_type: variable netmask: nut_monitor_netmask text: nut_monitor_host variables: - variable: name: nut_monitor_host type: network_cidr mandatory: 'True' - variable: name: nut_monitor_netmask type: netmask mandatory: 'True'