Skip to content

Commit

Permalink
Suppression de la configuration du gestionnaire de service
Browse files Browse the repository at this point in the history
  • Loading branch information
KuiKui committed Oct 27, 2023
1 parent 597ac7b commit f430a60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
# for RHEL/CentOS.
php_enablerepo: ""

gestionnaire_service: auto

# Extra packages to install (in addition to distro-specific default lists).
php_packages_extra: []

Expand Down
2 changes: 0 additions & 2 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
service:
name: "{{ php_webserver_daemon }}"
state: "{{ php_webserver_handler_state }}"
use: "{{ gestionnaire_service }}"
notify: restart php-fpm
when: php_enable_webserver

- name: restart php-fpm
service:
name: "{{ php_fpm_daemon }}"
state: "{{ php_fpm_handler_state }}"
use: "{{ gestionnaire_service }}"
when:
- php_enable_php_fpm
- php_fpm_state == 'started'

0 comments on commit f430a60

Please sign in to comment.