diff --git a/roles/gitea/defaults/main.yml b/roles/gitea/defaults/main.yml index 13ff05f..3a78921 100644 --- a/roles/gitea/defaults/main.yml +++ b/roles/gitea/defaults/main.yml @@ -1,11 +1,11 @@ --- # Version to install -gitea_version: 1.11.6 +gitea_version: 1.11.7 # URL to the binary gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64 # sha256 of the binary -gitea_bin_sha256: 0f12e4d471871deb43d8f6ee6fb5dd819c3f5a1a11fb145b17df5c8e8cd2fa3e +gitea_bin_sha256: 9261c23b0063132eba61f995561d3a1e76eabfadd7370f8dea2989180c36e2ff # Handle updates. If set to false, ansible will only install # Gitea and then won't touch an existing installation gitea_manage_upgrade: True diff --git a/roles/glpi/defaults/main.yml b/roles/glpi/defaults/main.yml index 94efbd2..74b58ae 100644 --- a/roles/glpi/defaults/main.yml +++ b/roles/glpi/defaults/main.yml @@ -89,4 +89,11 @@ glpi_plugins: 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 + ... diff --git a/roles/glpi/tasks/install.yml b/roles/glpi/tasks/install.yml index 7c4333a..40294cc 100644 --- a/roles/glpi/tasks/install.yml +++ b/roles/glpi/tasks/install.yml @@ -130,3 +130,16 @@ type: post 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