check_point.mgmt.cp_mgmt_dns_domain – Manages dns-domain objects on Check Point over Web Services API¶
Note
This plugin is part of the check_point.mgmt collection (version 2.0.0).
To install it use: ansible-galaxy collection install check_point.mgmt
.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_dns_domain
.
New in version 2.9: of check_point.mgmt
Synopsis¶
Manages dns-domain objects on Check Point devices including creating, updating and removing objects.
All operations are performed over Web Services API.
Parameters¶
Examples¶
- name: add-dns-domain
cp_mgmt_dns_domain:
is_sub_domain: false
name: .www.example.com
state: present
- name: set-dns-domain
cp_mgmt_dns_domain:
is_sub_domain: true
name: .www.example.com
state: present
- name: delete-dns-domain
cp_mgmt_dns_domain:
name: .example.com
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
cp_mgmt_dns_domain
dictionary
|
always, except when deleting the object. |
The checkpoint object created or updated.
|
Authors¶
Or Soffer (@chkp-orso)