check_point.mgmt.cp_mgmt_address_range – Manages address-range 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_address_range
.
New in version 2.9: of check_point.mgmt
Synopsis¶
Manages address-range objects on Check Point devices including creating, updating and removing objects.
All operations are performed over Web Services API.
Parameters¶
Examples¶
- name: add-address-range
cp_mgmt_address_range:
ip_address_first: 192.0.2.1
ip_address_last: 192.0.2.10
name: New Address Range 1
state: present
- name: set-address-range
cp_mgmt_address_range:
color: green
ip_address_first: 192.0.2.1
ip_address_last: 192.0.2.1
name: New Address Range 1
new_name: New Address Range 2
state: present
- name: delete-address-range
cp_mgmt_address_range:
name: New Address Range 2
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
cp_mgmt_address_range
dictionary
|
always, except when deleting the object. |
The checkpoint object created or updated.
|
Authors¶
Or Soffer (@chkp-orso)