check_point.mgmt.cp_mgmt_set_anti_malware_update_schedule module – Set both Anti-Bot and Anti-Virus update schedules.
Note
This module is part of the check_point.mgmt collection (version 6.5.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install check_point.mgmt
.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_set_anti_malware_update_schedule
.
New in check_point.mgmt 6.5.0
Synopsis
Set both Anti-Bot and Anti-Virus update schedules.
All operations are performed over Web Services API.
Available from R82 JHF management version.
Parameters
Parameter |
Comments |
---|---|
Publish the current session if changes have been performed after task completes. Choices:
|
|
Enable/Disable Anti-Malware Update Schedule. Choices:
|
|
Schedule Configuration. |
|
Days recurrence. |
|
Days of the month to run the update.<br> Valid values, interval in the range of 1 to 31. <font color=”red”>Required only when</font> pattern is set to ‘Monthly’. |
|
The amount of hours between updates. <font color=”red”>Required only when</font> pattern is set to ‘Interval’. |
|
The amount of minutes between updates. <font color=”red”>Required only when</font> pattern is set to ‘Interval’. |
|
The amount of seconds between updates. <font color=”red”>Required only when</font> pattern is set to ‘Interval’. |
|
Days recurrence pattern. Choices:
|
|
Days of the week to run the update.<br> Valid values, group of values from {‘Sun’, ‘Mon’, ‘Tue’, ‘Wed’, ‘Thu’, ‘Fri’, ‘Sat’}. <font color=”red”>Required only when</font> pattern is set to ‘Weekly’. |
|
Time in format HH,mm. |
|
Version of checkpoint. If not given one, the latest version taken. |
|
Wait for the task to end. Such as publish task. Choices:
|
|
How many minutes to wait until throwing a timeout error. Default: |
Examples
- name: set-anti-malware-update-schedule
cp_mgmt_set_anti_malware_update_schedule:
schedule:
recurrence:
interval_hours: 4
interval_minutes: 30
interval_seconds: 10
pattern: interval
state: present
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
The checkpoint set-anti-malware-update-schedule output. Returned: always. |