As I discussed with AWS team they mentioned there is an issue in template as we are planning for 2.12 pro deployment we are facing this issue
[WARNING]: Unable to parse /inventory.yaml as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match ‘all’
ERROR! the role ‘Nginx’ was not found in /roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/
The error appears to be in ‘/play.yaml’: line 3, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
- nginx
^ here