Update to 2020-06-18 20:00

master
Daniel Berteaud 5 years ago
parent 819ecf73b9
commit 43497b076c
  1. 4
      roles/gitea/defaults/main.yml
  2. 7
      roles/glpi/defaults/main.yml
  3. 13
      roles/glpi/tasks/install.yml

@ -1,11 +1,11 @@
--- ---
# Version to install # Version to install
gitea_version: 1.11.6 gitea_version: 1.11.7
# URL to the binary # URL to the binary
gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64 gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
# sha256 of the binary # sha256 of the binary
gitea_bin_sha256: 0f12e4d471871deb43d8f6ee6fb5dd819c3f5a1a11fb145b17df5c8e8cd2fa3e gitea_bin_sha256: 9261c23b0063132eba61f995561d3a1e76eabfadd7370f8dea2989180c36e2ff
# Handle updates. If set to false, ansible will only install # Handle updates. If set to false, ansible will only install
# Gitea and then won't touch an existing installation # Gitea and then won't touch an existing installation
gitea_manage_upgrade: True gitea_manage_upgrade: True

@ -89,4 +89,11 @@ glpi_plugins:
glpi_plugins_to_install: [] glpi_plugins_to_install: []
# You can customize the logo, ansible will download the logo
# This one is at the top left on every page. Should be 100x55
# glpi_logo: https://img.example.org/logos/glpi/fd_glpi.png
# This one is on the login page. It should be 145x80
# glpi_login_logo: https://img.example.org/logos/glpi/login_logo_glpi.png
... ...

@ -130,3 +130,16 @@
type: post type: post
tags: glpi tags: glpi
- name: Download the logo
get_url:
url: "{{ glpi_logo }}"
dest: "{{ glpi_root_dir }}/web/pics/fd_logo.png"
when: glpi_logo is defined
tags: glpi
- name: Download the login page logo
get_url:
url: "{{ glpi_login_logo }}"
dest: "{{ glpi_root_dir }}/web/pics/login_logo_glpi.png"
when: glpi_login_logo is defined
tags: glpi

Loading…
Cancel
Save