Mercurial > hg > Members > anatofuz > wordpress_ansible
view roles/install-php/tasks/main.yml @ 28:94d62666b307 default tip
...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 03 Sep 2020 13:46:18 +0900 |
parents | 1f1ecee8072b |
children |
line wrap: on
line source
--- - name: install php packages become: yes dnf: name: - php - php-mysqlnd - php-mbstring - php-fpm - php-cli - php-json - php-opcache - php-xml - php-gd - php-curl state: latest - name: replace /etc/php-fpm.d/www.conf become: yes replace: path: /etc/php-fpm.d/www.conf regexp: 'apache' replace: 'nginx' notify: restart_php_fpm - name: replace /etc/php-fpm.d/www.conf become: yes replace: path: /etc/php-fpm.d/www.conf regexp: '(listen.acl_users)' replace: ';\1' notify: restart_php_fpm - name: replace /etc/php-fpm.d/www.conf become: yes replace: path: /etc/php-fpm.d/www.conf regexp: ';(listen\.)(owner|group) = nobody' replace: '\1\2 = nginx' notify: restart_php_fpm