classroom/roles/linroom/tasks/qcadesigner-e.yml

20 lines
530 B
YAML
Raw Normal View History

- name: Create QCADesigner-e destination
file:
path: /opt/QCADEsigner-E
state: directory
- name: Clone QCADesigner-E repo
#
ansible.builtin.git:
repo: https://github.com/FSillT/QCADesigner-E
dest: /opt/QCADEsigner-E
- name: Build QCADesigner-E
shell:
cmd: cd /opt/QCADEsigner-E/QCADEsigner-E && ./autogen.sh && make
- name: Create QCADesigner-e symlink
file:
src: /opt/QCADEsigner-E/QCADesignerE/src/QCADesigner
dest: /usr/local/bin/QCADesigner
state: link
# TODO create .desktop file