- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hi Everyone,
I am a DevOps practitioner, and currently helping a client automate the provisioning and configuration of CheckPoint firewalls in Azure.
I created an Ansible Playbook with sample tasks to add Host, and NAT Rule, with no errors but somehow, these objects are not saved. Has anyone run into this?
Playbook Contents
Execution output
All tasks succeed. Zero errors!
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /Users/sharepointoscar/.ansible/tmp/ansible-tmp-1526006124.196667-230724803151205/ > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {
"changed": false,
"invocation": {
"module_args": {
"command": "logout",
"fingerprint": null,
"parameters": null,
"session-data": "{'failed': False, 'changed': False, 'response': {'url': 'ipredacted:443', 'domain': None, 'sid': '-JkGsmtdamz-UqAG067hXCl1tTFQvUvkfDH9KB1_5P4', 'fingerprint':'redacted"
}
},
"response": {
"message": "OK"
}
}
META: ran handlers
META: ran handlers
____________
< PLAY RECAP >
------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
127.0.0.1 : ok=7 changed=0 unreachable=0 failed=0
Thank you Robert Decker . I downloaded and setup that cpAnsible. I was using an old one. My environment required for me to specify the ansible interpreter since I have multiple versions of Python. To do that, I simply added this to the Group VARS as follows:
So two things that helped:
And that does it, thanks for all of your help Tomer Sole and Robert Decker
This was a weird one
, hope it helps someone.
Cheers,
@SharePointOscar
Hey Robert Decker . Yes, I essentially grabbed the sample stuff from there and configured my environment accordingly.
Interesting thing is, PostMan calls with same username/password combination work. The last call using Postman is "Publish".
I do see the SID and task ID being passed when I execute the Ansible last task of "Publish" as well, and I get a good response...
Exactly. Changes are saved, but not published for everyone else to see. https://community.checkpoint.com/thread/5042-using-mgmtcli-without-automatic-publish#comment-5982
Thank you Robert Decker . I downloaded and setup that cpAnsible. I was using an old one. My environment required for me to specify the ansible interpreter since I have multiple versions of Python. To do that, I simply added this to the Group VARS as follows:
So two things that helped:
And that does it, thanks for all of your help Tomer Sole and Robert Decker
This was a weird one
, hope it helps someone.
Cheers,
@SharePointOscar
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY