- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters E7:
How CPR Broke ChatGPT's Isolation and What It Means for You
Blueprint Architecture for Securing
The AI Factory & AI Data Center
Call For Papers
Your Expertise. Our Stage
Good, Better, Best:
Prioritizing Defenses Against Credential Abuse
Ink Dragon: A Major Nation-State Campaign
Watch HereCheckMates Go:
CheckMates Fest
Hello, we are testing ansible automatisation on our MDS . I used this SK, but I can't find any information how to specify a special CMA Domain: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...
My Hosts File looks like this: /etc/ansible/hosts
[checkpoint]
1.1.1.1
[checkpoint:vars]
ansible_httpapi_use_ssl=True
ansible_httpapi_validate_certs=False
ansible_user=api-user
ansible_password=password
ansible_network_os=checkpoint
My Ansible runbook lookes like that:
cat create-host2.yml
---
- hosts: checkpoint
connection: httpapi
# domain: "Global"
tasks:
- name: add-host
cp_mgmt_host:
ip_address: "192.0.2.1"
name: "New Host 1"
state: "present"
Does anyone know how to specify a CMA Domani in this Version?
In the old Version https://github.com/CheckPointSW/cpAnsible you could do this with the parameter -domain
Can anyone help me with that?
Hi,
@Arenaos we are using the https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection version 1.0.5 and its working for us.
When using the included collection in Ansible 2.9.7, we are facing the same issue.
Are you using the IP of the domain?
Hi,
no I used the IP of the MDS (Provider 1).
I want to create one global Object and also another object in a CMA (Domain).
@Nir_Amara can you comment on this?
Hey,
The Check Point modules are available only from Ansible version 2.9 and above.
To add domain parameter for the official integration modules, add the name of that domain to the "ansible_checkpoint_domain" field under "vars" of your playbook.
For example:
---
- name: playbook name
hosts: check_point
connection: httpapi
tasks:
- name: task to have network
check_point.mgmt.cp_mgmt_network:
name: "network name"
subnet: "4.1.76.0"
mask_length: 24
auto_publish_session: true
vars:
ansible_checkpoint_domain: "SMC User"
Replace "SMC User" with "Global" in the above example to run the task in the Global domain.
Let me know if you need further assistance.
@Nir_Amara that variable "ansible_checkpoint_domain" is not longer valid. I am using Ansible 2.9.7 and is not being taken, seems like Ansible completely ignored that.
I can tell my parameters are fine because if I try the same from Postman the changes are reflected. Can you point me to the right documentation please?
Here is my playbook:
- name: example_playbook
hosts: check_point
connection: httpapi
tasks:
- name: set-service-tcp
cp_mgmt_service_tcp:
name: %SERVICE%
...
auto_publish_session: yes
vars:
ansible_checkpoint_domain: "%DOMAIN%"
Hi,
@Nir_Amara that variable "ansible_checkpoint_domain" is not longer valid for me as well. Is there any solution to specify a domain ?
We have 8 domain in our MDS. There is no solution for us at the moment.
Regards,
Gary
Hi,
@Arenaos we are using the https://github.com/CheckPointSW/CheckPointAnsibleMgmtCollection version 1.0.5 and its working for us.
When using the included collection in Ansible 2.9.7, we are facing the same issue.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 1 |
Tue 28 Apr 2026 @ 06:00 PM (IDT)
Under the Hood: Securing your GenAI-enabled Web Applications with Check Point WAFThu 30 Apr 2026 @ 03:00 PM (PDT)
Hillsboro, OR: Securing The AI Transformation and Exposure ManagementTue 28 Apr 2026 @ 06:00 PM (IDT)
Under the Hood: Securing your GenAI-enabled Web Applications with Check Point WAFTue 12 May 2026 @ 10:00 AM (CEST)
The Cloud Architects Series: Check Point Cloud Firewall delivered as a serviceThu 30 Apr 2026 @ 03:00 PM (PDT)
Hillsboro, OR: Securing The AI Transformation and Exposure ManagementAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY