--- version: 1.1 machines: description: Machines started in this host type: domainname multi: true provider: Host hidden: true mandatory: false "machine_{{ suffix }}": description: 'Machine {{ suffix }}' dynamic: variable: machined.machines incoming_ports: description: 'Incomming external ports for {{ suffix }}' hidden: true type: port multi: true provider: Host:incoming_ports mandatory: false outgoing_ports: description: 'Outcoming external ports for {{ suffix }}' hidden: true type: port params: allow_protocol: true multi: true provider: Host:outgoing_ports mandatory: false srv_dir: description: 'Directory with srv volume for {{ suffix }}' hidden: true type: unix_filename provider: Host:machine_srv mandatory: false journal_dir: description: 'Directory with journal volume for {{ suffix }}' hidden: true type: unix_filename provider: Host:machine_journal mandatory: false config_dir: description: 'Directory with configuration volume for {{ suffix }}' hidden: true type: unix_filename provider: Host:config_dir tls_dir: hidden: true type: unix_filename provider: Host:machine_tls mandatory: false zones: description: 'Zones for {{ suffix }}' hidden: true provider: Host:machine_zones multi: true mandatory: false ip: description: 'IP for {{ suffix }}' type: ip hidden: true default: jinja: >- {{ zones | get_ip(suffix) }} params: zones: information: zones suffix: type: suffix nspawn_zone_filename: type: unix_filename hidden: true multi: true default: jinja: |- {%- for machine in machined.machines %} /etc/systemd/nspawn/{{ machine }}.nspawn {%- endfor -%} nspawn_script_network: type: unix_filename hidden: true multi: true default: jinja: |- {%- for machine in machined.machines %} /sbin/network-{{ machine }} {%- endfor -%} nspawn_script_tls: type: unix_filename hidden: true multi: true default: jinja: |- {%- for machine in machined.machines %} /sbin/tls-{{ machine }} {%- endfor -%} nspawn_script_directory: type: unix_filename hidden: true multi: true default: jinja: |- {%- for machine in machined.machines %} /sbin/directory-{{ machine }} {%- endfor -%}