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