jupyter.css wants the awesome fonts.
This commit is contained in:
parent
35d8c8799e
commit
f813fbd193
|
@ -109,6 +109,7 @@
|
||||||
loop:
|
loop:
|
||||||
- 'templates/custom'
|
- 'templates/custom'
|
||||||
- 'public/css'
|
- 'public/css'
|
||||||
|
- 'public/components'
|
||||||
tags: [ 'git', 'gitea', 'gitea_conf' ]
|
tags: [ 'git', 'gitea', 'gitea_conf' ]
|
||||||
|
|
||||||
- name: Install the gitea systemd unit
|
- name: Install the gitea systemd unit
|
||||||
|
|
|
@ -70,6 +70,20 @@
|
||||||
dest: '{{ gitea_data_dir }}/custom/templates/custom/header.tmpl'
|
dest: '{{ gitea_data_dir }}/custom/templates/custom/header.tmpl'
|
||||||
mode: 0444
|
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' ]
|
tags: [ 'git', 'gitea', 'gitea_addons', 'gitea_conf', 'gitea_jupyter' ]
|
||||||
|
|
||||||
- name: Configure restructuredtext markup
|
- name: Configure restructuredtext markup
|
||||||
|
|
Loading…
Reference in New Issue