Update publish_data.yaml
{{ system.domain }}  =>>  {{ st2kv.system.domain }}
After V2.2 ,this is not supported.
---
vars:
- domain: "{{ system.domain }}" # `system` references DataStore key-values. Null if not set.
+ domain: "{{ st2kv.system.domain }}" # `system` references DataStore key-values. Null if not set.
api_port: 9101
webui_port: 8080
chain:
