Server IP : 85.214.239.14 / Your IP : 3.133.154.208 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/ansible_collections/community/zabbix/roles/zabbix_web/handlers/ |
Upload File : |
--- - name: restart apache service: name: "{{ _apache_service }}" state: restarted enabled: true become: true when: - zabbix_websrv == 'apache' - name: test nginx config listen: restart nginx command: nginx -t register: zabbix_nginx_cfg_check notify: restart nginx tested become: true when: - zabbix_websrv == 'nginx' - name: restart nginx tested service: name: nginx state: restarted enabled: true become: true when: - zabbix_websrv == 'nginx' - zabbix_nginx_cfg_check.rc == 0 - name: restart redhat-php-fpm service: name: "{{ 'rh-php72-php-fpm' if zabbix_php_fpm else 'php-fpm' }}" state: restarted enabled: true become: true when: - zabbix_version is version('5.0', '>=') - name: restart php-fpm-version service: name: php{{ zabbix_php_version }}-fpm state: restarted enabled: true become: true when: - zabbix_version is version('5.0', '>=') - name: "clean repo files from proxy creds" shell: ls /etc/yum.repos.d/zabbix* && sed -i 's/^proxy =.*//' /etc/yum.repos.d/zabbix* || true become: true when: - ansible_os_family == 'RedHat' - zabbix_http_proxy is defined or zabbix_https_proxy is defined