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