diff --git a/plugins/modules/queue_manager.py b/plugins/modules/queue_manager.py index f22b153..6e421c5 100644 --- a/plugins/modules/queue_manager.py +++ b/plugins/modules/queue_manager.py @@ -70,7 +70,7 @@ def run_mqsc_file(qmname, module): result['msg'] = 'MQSC configuration successfully applied to queue manager.' else: - rc, stdout, stderr = module.run_command(['strmqm', qmname]) + rc, stdout, stderr = module.run_command(['strmqm', '-ns', qmname]) rc, stdout, stderr = module.run_command(["runmqsc", qmname, "-f", module.params['mqsc_file']]) result['rc'] = rc result['output'] = stdout + stderr @@ -210,4 +210,4 @@ def main(): module.exit_json(**result) if __name__ == '__main__': - main() \ No newline at end of file + main()