I have tried that one but no luck. Still it throws different error
"changed": true,
"cmd": [
"/opt/opendj/setup",
"--cli",
"--propertiesFilePath",
"/tmp/opendjsetup.props",
"--no-prompt"
],
"delta": "0:00:02.185983",
"end": "2017-03-14 20:27:04.226508",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "/opt/opendj/setup --cli --propertiesFilePath /tmp/opendjsetup.props --no-prompt",
"_uses_shell": false,
"chdir": "/opt/opendj",
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 7,
"start": "2017-03-14 20:27:02.040525",
"stderr": "",
"stdout": "",
"stdout_lines": [],
"warnings": []