29 lines
658 B
YAML
29 lines
658 B
YAML
|
|
---
|
||
|
|
########
|
||
|
|
# FreeCAD AppImage
|
||
|
|
#
|
||
|
|
- name: Make sure target dir exists
|
||
|
|
ansible.builtin.file:
|
||
|
|
path: /opt/appimages/freecad/
|
||
|
|
state: directory
|
||
|
|
recurse: yes
|
||
|
|
owner: root
|
||
|
|
group: root
|
||
|
|
mode: '0755'
|
||
|
|
|
||
|
|
- name: Download FreeCAD AppImage from Cache
|
||
|
|
ansible.builtin.get_url:
|
||
|
|
url: "{{ mirror_appimage }}/FreeCAD.AppImage"
|
||
|
|
dest: /opt/appimages/freecad/FreeCAD.AppImage
|
||
|
|
mode: '0755'
|
||
|
|
environment:
|
||
|
|
http_proxy: ''
|
||
|
|
|
||
|
|
- name: Copy desktop freecad starter file to target
|
||
|
|
copy:
|
||
|
|
src: files/qg.appimage.FreeCAD.desktop
|
||
|
|
dest: /usr/share/applications/qg.appimage.FreeCAD.desktop
|
||
|
|
mode: '0644'
|
||
|
|
owner: root
|
||
|
|
group: root
|