# Checkpoint Module - cp\_mgmt\_run\_script - Smart Console task not completing

**URL:** <https://forum.ansible.com/t/checkpoint-module-cp-mgmt-run-script-smart-console-task-not-completing/33566>\
**Category:** Ansible Project\
**Created:** [August 7, 2020, 3:02am UTC](https://forum.ansible.com/t/checkpoint-module-cp-mgmt-run-script-smart-console-task-not-completing/33566 "2020-08-07T03:02:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Macpherson](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Simon\_Macpherson](https://forum.ansible.com/u/Simon_Macpherson)\
**Post date:** [August 7, 2020, 3:02am UTC](https://forum.ansible.com/t/checkpoint-module-cp-mgmt-run-script-smart-console-task-not-completing/33566/1 "2020-08-07T03:02:21Z")

</div>

Hi,

I’m running a bash script using the cp\_mgmt\_run\_script Ansible module for checkpoint against one remote gateway.

The script runs successfully on the gateway.

Within Smart Console however, the task populates in the recent task list with 40% progress but not not complete. It does not progress and must be manually cleared.

Is anyone aware of a bug that could be causing this?

Is there a workaround that could be written in to the playbook or bash script?

**If I run the script vi a POST api call using the run-script module using either mgmt\_cli or web services, the task progresses to completion as expected. This indicate Ansible is the cause.**

I will open a TAC case if no one is aware.

Versions:

Mgmt version: R80.30 GA 210

Gateway version: R80.30 GA 196
