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