--- - name: Install php-fpm apt: pkg=php-fpm state=latest - name: Stop the php-fpm daemon for now and ensure it starts on boot service: name=php7.0-fpm state=stopped enabled=yes