jupyter.css wants the awesome fonts.

This commit is contained in:
Andrea Dell'Amico 2021-07-01 14:06:53 +02:00
parent 35d8c8799e
commit f813fbd193
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 15 additions and 0 deletions

View File

@ -109,6 +109,7 @@
loop:
- 'templates/custom'
- 'public/css'
- 'public/components'
tags: [ 'git', 'gitea', 'gitea_conf' ]
- name: Install the gitea systemd unit

View File

@ -70,6 +70,20 @@
dest: '{{ gitea_data_dir }}/custom/templates/custom/header.tmpl'
mode: 0444
- name: Check if the awesome fonts are installed
stat:
path: /usr/share/fonts-font-awesome
register: awesome_fonts_dir
- name: Link to the awesome fonts directory
become: true
become_user: '{{ gitea_user }}'
file:
src: /usr/share/fonts-font-awesome
dest: '{{ gitea_data_dir }}/custom/public/components/font-awesome'
state: link
when: awesome_fonts_dir.stat.exists
tags: [ 'git', 'gitea', 'gitea_addons', 'gitea_conf', 'gitea_jupyter' ]
- name: Configure restructuredtext markup