Agree. You are right. The file might change depending on the kafka version. However, doesn't that action replace the last export with "export JMX_PORT=..."? Can you run the playbook and verify the output?