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