mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Move 19 roles into roles/0-DEPRECATED-ROLES
This commit is contained in:
parent
0e39c42bbd
commit
2218d2334b
124 changed files with 5 additions and 1 deletions
47
roles/0-DEPRECATED-ROLES/debian_schooltool/tasks/main.yml
Normal file
47
roles/0-DEPRECATED-ROLES/debian_schooltool/tasks/main.yml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
- name: get the required build packages
|
||||
package: name={{ item }}
|
||||
state=present
|
||||
with_items:
|
||||
- build-essential
|
||||
- gettext
|
||||
- python-dev
|
||||
- libicu-dev
|
||||
- libxslt1-dev
|
||||
- libfreetype6-dev
|
||||
- libjpeg-dev
|
||||
- enscript
|
||||
- python-virtualenv
|
||||
- ttf-liberation
|
||||
- redis-server
|
||||
- libjpeg-dev
|
||||
- xvfb
|
||||
when: debian_schooltool_install and is_debuntu
|
||||
|
||||
- name: Create the font directory
|
||||
file: path=/usr/share/fonts/truetype/ttf-ubuntu
|
||||
state=directory
|
||||
|
||||
- name: get the ttf-ubuntu-font-family
|
||||
get_url: url={{ iiab_download_url }}/ubuntu-font-family-0.83.zip
|
||||
dest={{ downloads_dir }}
|
||||
|
||||
- name: expand the ttf fonts to the right place
|
||||
unarchive: src={{ downloads_dir }}/ubuntu-font-family-0.83.zip
|
||||
dest=/usr/share/fonts/truetype/ttf-ubuntu/
|
||||
|
||||
- name: get the schooltool source
|
||||
get_url: url={{ iiab_download_url }}/{{ schooltool_src }}
|
||||
dest={{ downloads_dir }}
|
||||
|
||||
- name: expand source to dest
|
||||
unarchive: src={{ downloads_dir }}/{{ schooltool_src }}
|
||||
dest={{ iiab_base }}
|
||||
|
||||
- name: create a link for schooltool
|
||||
file: src={{ iiab_base }}/{{ schooltool_version }}
|
||||
dest={{ iiab_base }}/schooltool
|
||||
state=link
|
||||
|
||||
- name: build the schooltool from source
|
||||
shell: command='$( cd {{ iiab_base }}/schooltool; /usr/bin/make ) '
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue