https://www.techbeginner.in/2021/01/how-to-install-php-using-ansible.html
Use tags eg add a line under the task like tags: php then when excuting the playbook to add --tags php to the command.
https://cloudaffaire.com/faq/using-chown-command-in-ansible/
https://sebrave.medium.com/how-to-install-laravel-using-ansible-1f697dcdf879