{% from 'lib.sls' import container_deploy with context %} Create nextcloud data directory: file.directory: - name: /srv/nextcloud - user: 33 - group: 33 - mode: "0755" {{ container_deploy('nextcloud') }} {{ container_deploy('nextcloud-cron') }}