Ansible playbook: The server connection failed with the error “Bad Gateway”

returned 502 when i tested it