{% from 'lib.sls' import pod_deploy with context %} Create unifi data directory: file.directory: - name: /srv/unifi - user: root - group: root - mode: "0750" {{ pod_deploy('unifi') }}