diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 0e1498f..859b253 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -74,3 +74,9 @@ - net.ipv6.conf.all.disable_ipv6 - net.ipv6.conf.default.disable_ipv6 - net.ipv6.conf.lo.disable_ipv6 + +- name: desactive unatentted upgrade + ansible.builtin.service: + name: unattended-upgrades.service + state: stopped + enabled: false diff --git a/roles/glpi/defaults/main.yml b/roles/glpi/defaults/main.yml index 43b3138..9b375bc 100644 --- a/roles/glpi/defaults/main.yml +++ b/roles/glpi/defaults/main.yml @@ -1,6 +1,6 @@ depl_url: "http://s-adm.gsb.adm/gsbstore" #depl_glpi: "glpi-9.5.6.tgz" -depl_glpi: "glpi-10.0.6.tgz" +depl_glpi: "glpi-10.0.11.tgz" #depl_fusioninventory: "fusioninventory-9.5+3.0.tar.bz2" -depl_glpi_agentx64: "GLPI-Agent-1.4-x64.msi" +depl_glpi_agentx64: "GLPI-Agent-1.7-x64.msi" depl_glpi_agentx86: "GLPI-Agent-1.4-x86.msi" diff --git a/roles/glpi/handlers/main.yml b/roles/glpi/handlers/main.yml index 2d5614c..94edf69 100644 --- a/roles/glpi/handlers/main.yml +++ b/roles/glpi/handlers/main.yml @@ -1,6 +1,6 @@ --- - name: restart php-fpm - service: name=php7.0-fpm state=restarted + service: name=php8.2-fpm state=restarted - name: restart nginx service: name=nginx state=restarted diff --git a/roles/glpi/tasks/main.yml b/roles/glpi/tasks/main.yml index 0028bf9..1eb5837 100644 --- a/roles/glpi/tasks/main.yml +++ b/roles/glpi/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: Installation des paquets apt: - state: latest + state: present name: - nginx - php-fpm @@ -24,10 +24,10 @@ - postfix - mailutils - - name: Changement listen dans le fichier conf de php7.3 + - name: Changement listen dans le fichier conf de php8.2 replace: - dest: /etc/php/7.4/fpm/pool.d/www.conf - regexp: 'listen = /run/php/php7.4-fpm.sock' + dest: /etc/php/8.2/fpm/pool.d/www.conf + regexp: 'listen = /run/php/php8.2-fpm.sock' replace: 'listen = 127.0.0.1:9000' backup: yes @@ -43,7 +43,7 @@ - name: Remplacement dans le fichier de conf php du timeout replace: - dest: /etc/php/7.4/fpm/php.ini + dest: /etc/php/8.2/fpm/php.ini regexp: 'max_execution_time = 30' replace: 'max_execution_time = 600' backup: yes diff --git a/s-itil.yml b/s-itil.yml index 3589210..de56dc1 100644 --- a/s-itil.yml +++ b/s-itil.yml @@ -3,7 +3,7 @@ connection: local vars: - glpi_version: "10.0.6" + glpi_version: "10.0.11" glpi_dir: "/var/www/html/glpi" glpi_dbhost: "127.0.0.1" glpi_dbname: "glpi"