<modificator>
<uid>org.bayrell.modificator.deploy_hostname</uid>
<name>Deploy hostname</name>
<version>1.0</version>
<xml name="bayrell.org" priority="10">https://cloud.bayrell.org/marketplace/org.bayrell.modificator.deploy_hostname.xml</xml>
<xml name="github.com" priority="20">https://raw.githubusercontent.com/bayrell-os/marketplace/main/org.bayrell.modificator.deploy_hostname.xml</xml>
<date>2022-08-09T17:15:00+06:00</date>
<operations>
<operation type="remove">
<path>/template/yaml/services/*/deploy/placement</path>
</operation>
<operation type="add">
<path>/template/yaml/services/*/deploy</path>
<value>
<placement>
<constraints type="array">node.hostname == _var_hostname_</constraints>
</placement>
</value>
</operation>
<operation type="add">
<path>/template/variables</path>
<notExists>/template/variables/variable[name="_var_hostname_"]</notExists>
<value>
<variable>
<name>_var_hostname_</name>
<label>Hostname</label>
<type>string</type>
</variable>
</value>
</operation>
</operations>
</modificator>