|
|
@ -77,8 +77,8 @@ |
|
|
|
tags: glpi |
|
|
|
tags: glpi |
|
|
|
|
|
|
|
|
|
|
|
# Some plugins have the directory name not matching the plugin name |
|
|
|
# Some plugins have the directory name not matching the plugin name |
|
|
|
# Eg, glpi-dashboard-1.0.2 instead of GLPI. So it's removed as if it was an unmanaged plugin |
|
|
|
# Eg, glpi-dashboard-1.0.2 instead of dashboard. So it's removed as if it was an unmanaged plugin |
|
|
|
# If the prop name_from is defined for the plugin, rename the dir |
|
|
|
# If the prop rename_from is defined for the plugin, rename the dir |
|
|
|
- name: Rename plugin dir |
|
|
|
- name: Rename plugin dir |
|
|
|
command: mv {{ glpi_root_dir }}/web/plugins/{{ glpi_plugins[item].rename_from }} {{ glpi_root_dir }}/web/plugins/{{ item }} |
|
|
|
command: mv {{ glpi_root_dir }}/web/plugins/{{ glpi_plugins[item].rename_from }} {{ glpi_root_dir }}/web/plugins/{{ item }} |
|
|
|
args: |
|
|
|
args: |
|
|
|