- name: install php-fpm pacman: name=php-fpm state=present - name: Enable php-fpm service: name=php-fpm state=started enabled=yes - name: php-fpm.ini template: src=php-fpm.conf.j2 dest=/etc/php/php-fpm.conf mode=0644 backup=yes notify: restart php-fpm - name: php.ini template: src=php.ini.j2 dest=/etc/php/php.ini mode=0644 backup=yes notify: restart php-fpm