[Solved] Playbook Start Nginx Error: Unable to start service nginx: Job for nginx.service fd with error code

The error information is as follows:

TASK [start nginx service] *******************************************************************************************
fatal: [192.168.126.129]: FAILED! => {"changed": false, "msg": "Unable to start service nginx: Job for nginx.service fd with error code. See \"systemctl status nginx.service\" and \"journalctl -xe\" for details.\n"}

The reason is that the user/group I created for Nginx in playbook is user-defined:

Change it to Nginx:

Read More: