--- - name: install slic3r-prusa apt: name: slic3r-prusa state: present - name: create skel directories file: path: "/etc/skel/{{ item }}" state: directory loop: - .config - .config/PrusaSlicer - .config/PrusaSlicer/vendor - name: create symlink to vendor profiles file: src: /usr/share/PrusaSlicer/profiles/PrusaResearch.ini dest: /etc/skel/.config/PrusaSlicer/vendor/PrusaResearch.ini state: link - name: Copy Prusa slicer settings copy: content: "{{ fablab.prusa_slicer.settings }}" dest: /etc/skel/.config/PrusaSlicer/PrusaSlicer.ini