See (again!): Ansible official document - Best Practices
-
Fork.
-
Commit & push your changes, and send PR (pull request).
-
Check the CI results...
-
Move the steps for setting
/etc/nginx/conf.d/
to thenginx
role.FYI, see williamyeh.nginx.
-
Try to refactor into more roles, in addition to
nginx
.