Merge branch 'inkscape-silhouette' into 'master'
Inkscape silhouette See merge request fablab/labsync!38
This commit is contained in:
commit
fc458e5c05
17 changed files with 137 additions and 86 deletions
|
|
@ -2,6 +2,7 @@ image: docker:latest
|
|||
|
||||
variables:
|
||||
GIT_STRATEGY: fetch
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
PACKER_VERSION: 1.2.0
|
||||
ANNOUNCE: http://labsync.lab.fablab-nea.de:6969/announce
|
||||
WEBSEED: http://labsync.lab.fablab-nea.de/labsync/$CI_COMMIT_REF_NAME/$CI_PIPELINE_ID/images
|
||||
|
|
|
|||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "packer/ansible/roles/inkscape/files/inkscape-silhouette"]
|
||||
path = packer/ansible/roles/inkscape/files/inkscape-silhouette
|
||||
url = https://github.com/fablab-nea/inkscape-silhouette
|
||||
|
|
@ -18,7 +18,7 @@ RUN apk add --no-cache \
|
|||
py2-pip \
|
||||
python-dev \
|
||||
&& pip install --upgrade pip \
|
||||
&& pip install ansible==2.4.3.0 \
|
||||
&& pip install ansible==2.7.0 \
|
||||
&& apk del .build-deps
|
||||
|
||||
ARG PACKER_VERSION
|
||||
|
|
|
|||
|
|
@ -3,35 +3,15 @@
|
|||
any_errors_fatal: yes
|
||||
roles:
|
||||
- role: packages
|
||||
tags:
|
||||
- packages
|
||||
- role: superuser
|
||||
tags:
|
||||
- superuser
|
||||
- role: auth
|
||||
tags:
|
||||
- auth
|
||||
- role: labsync
|
||||
tags:
|
||||
- labsync
|
||||
- role: windowmanager
|
||||
tags:
|
||||
- windowmanager
|
||||
- role: l10n
|
||||
tags:
|
||||
- l10n
|
||||
- role: inkscape
|
||||
tags:
|
||||
- inkscape
|
||||
- role: fablab
|
||||
tags:
|
||||
- fablab
|
||||
- role: hardware
|
||||
tags:
|
||||
- hardware
|
||||
- role: docker
|
||||
tags:
|
||||
- docker
|
||||
vars:
|
||||
auth:
|
||||
sudo:
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
---
|
||||
- import_tasks: debug.yml
|
||||
- import_tasks: sudo.yml
|
||||
- block:
|
||||
- import_tasks: debug.yml
|
||||
tags:
|
||||
- auth:debug
|
||||
- import_tasks: sudo.yml
|
||||
tags:
|
||||
- auth:sudo
|
||||
tags:
|
||||
- auth
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
---
|
||||
- import_tasks: packages.yml
|
||||
- block:
|
||||
- import_tasks: packages.yml
|
||||
tags:
|
||||
- docker:packages
|
||||
- import_tasks: lvm-setup-service.yml
|
||||
tags:
|
||||
- docker:lvm-setup-service
|
||||
tags:
|
||||
- docker:packages
|
||||
|
||||
- import_tasks: lvm-setup-service.yml
|
||||
tags:
|
||||
- docker:lvm-setup-service
|
||||
- docker
|
||||
|
|
|
|||
|
|
@ -1,22 +1,25 @@
|
|||
---
|
||||
- import_tasks: arduino.yml
|
||||
- block:
|
||||
- import_tasks: arduino.yml
|
||||
tags:
|
||||
- fablab:arduino
|
||||
- import_tasks: cad.yml
|
||||
tags:
|
||||
- fablab:cad
|
||||
- import_tasks: cura.yml
|
||||
tags:
|
||||
- fablab:cura
|
||||
- import_tasks: fritzing.yml
|
||||
tags:
|
||||
- fablab:fritzing
|
||||
- import_tasks: kicad.yml
|
||||
tags:
|
||||
- fablab:kicad
|
||||
- import_tasks: visicut.yml
|
||||
tags:
|
||||
- fablab:visicut
|
||||
- import_tasks: metalcut.yml
|
||||
tags:
|
||||
- fablab:metalcut
|
||||
tags:
|
||||
- fablab:arduino
|
||||
- import_tasks: cad.yml
|
||||
tags:
|
||||
- fablab:cad
|
||||
- import_tasks: cura.yml
|
||||
tags:
|
||||
- fablab:cura
|
||||
- import_tasks: fritzing.yml
|
||||
tags:
|
||||
- fablab:fritzing
|
||||
- import_tasks: kicad.yml
|
||||
tags:
|
||||
- fablab:kicad
|
||||
- import_tasks: visicut.yml
|
||||
tags:
|
||||
- fablab:visicut
|
||||
- import_tasks: metalcut.yml
|
||||
tags:
|
||||
- fablab:metalcut
|
||||
- fablab
|
||||
|
|
|
|||
|
|
@ -1,2 +1,7 @@
|
|||
---
|
||||
- import_tasks: firmware.yml
|
||||
- block:
|
||||
- import_tasks: firmware.yml
|
||||
tags:
|
||||
- hardware:firmware
|
||||
tags:
|
||||
- hardware
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 6b1d81884cd2df50ee78a248b8c3a219695bd38c
|
||||
|
|
@ -1,2 +1,10 @@
|
|||
---
|
||||
- import_tasks: base.yml
|
||||
- block:
|
||||
- import_tasks: base.yml
|
||||
tags:
|
||||
- inkscape:base
|
||||
- import_tasks: silhouette.yml
|
||||
tags:
|
||||
- inkscape:silhouette
|
||||
tags:
|
||||
- inkscape
|
||||
|
|
|
|||
17
packer/ansible/roles/inkscape/tasks/silhouette.yml
Normal file
17
packer/ansible/roles/inkscape/tasks/silhouette.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- name: install python-usb
|
||||
package:
|
||||
name: python-usb
|
||||
state: present
|
||||
|
||||
- name: copy files
|
||||
copy:
|
||||
src: inkscape-silhouette/{{ item }}
|
||||
dest: /usr/share/inkscape/extensions
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0644"
|
||||
loop:
|
||||
- sendto_silhouette.inx
|
||||
- sendto_silhouette.py
|
||||
- silhouette
|
||||
|
|
@ -1,4 +1,13 @@
|
|||
---
|
||||
- import_tasks: keyboard-configuration.yml
|
||||
- import_tasks: locale.yml
|
||||
- import_tasks: timezone.yml
|
||||
- block:
|
||||
- import_tasks: keyboard-configuration.yml
|
||||
tags:
|
||||
- l10n:keyboard-configuration
|
||||
- import_tasks: locale.yml
|
||||
tags:
|
||||
- l10n:locale
|
||||
- import_tasks: timezone.yml
|
||||
tags:
|
||||
- l10n:timezone
|
||||
tags:
|
||||
- l10n
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
---
|
||||
- import_tasks: seeder.yml
|
||||
- block:
|
||||
- import_tasks: seeder.yml
|
||||
tags:
|
||||
- labsync:seeder
|
||||
- import_tasks: localboot.yml
|
||||
tags:
|
||||
- labsync:localboot
|
||||
tags:
|
||||
- labsync:seeder
|
||||
- import_tasks: localboot.yml
|
||||
tags:
|
||||
- labsync:localboot
|
||||
- labsync
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
---
|
||||
- name: install network-manager
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
- network-manager
|
||||
- network-manager-gnome
|
||||
- block:
|
||||
- name: install network-manager
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
with_items:
|
||||
- network-manager
|
||||
- network-manager-gnome
|
||||
tags:
|
||||
- network-manager
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
---
|
||||
- import_tasks: sources.yml
|
||||
- import_tasks: debian.yml
|
||||
- block:
|
||||
- import_tasks: sources.yml
|
||||
- import_tasks: debian.yml
|
||||
tags:
|
||||
- packages
|
||||
|
|
|
|||
|
|
@ -1,11 +1,14 @@
|
|||
- name: create root .ssh directory
|
||||
file:
|
||||
path: /root/.ssh
|
||||
owner: root
|
||||
group: root
|
||||
state: directory
|
||||
- block:
|
||||
- name: create root .ssh directory
|
||||
file:
|
||||
path: /root/.ssh
|
||||
owner: root
|
||||
group: root
|
||||
state: directory
|
||||
|
||||
- name: set authorized keys for root user
|
||||
copy:
|
||||
src: files/authorized_keys
|
||||
dest: /root/.ssh/authorized_keys
|
||||
- name: set authorized keys for root user
|
||||
copy:
|
||||
src: files/authorized_keys
|
||||
dest: /root/.ssh/authorized_keys
|
||||
tags:
|
||||
- superuser
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
---
|
||||
- import_tasks: lightdm.yml
|
||||
- block:
|
||||
- import_tasks: lightdm.yml
|
||||
tags:
|
||||
- windowmanager:lightdm
|
||||
- import_tasks: awesome.yml
|
||||
tags:
|
||||
- windowmanager:awesome
|
||||
- import_tasks: mate.yml
|
||||
tags:
|
||||
- windowmanager:mate
|
||||
tags:
|
||||
- windowmanager:lightdm
|
||||
- import_tasks: awesome.yml
|
||||
tags:
|
||||
- windowmanager:awesome
|
||||
- import_tasks: mate.yml
|
||||
tags:
|
||||
- windowmanager:mate
|
||||
- windowmanager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue