paloaltonetworks / paloaltonetworks.panos / 2.19.1 / module / panos_schedule_object Manage schedule objects on PAN-OS devices. | "added in version" 2.1.0 of paloaltonetworks.panos" Authors: Michael Richardson (@mrichardson03) preview | supported by communitypaloaltonetworks.panos.panos_schedule_object (2.19.1) — module
Install with ansible-galaxy collection install paloaltonetworks.panos:==2.19.1
collections: - name: paloaltonetworks.panos version: 2.19.1
Manage schedule objects on PAN-OS devices.
- name: Create schedule object paloaltonetworks.panos.panos_schedule_object: provider: '{{ provider }}' name: 'Monday-Work-Day' type: 'recurring' recurrence: 'weekly' weekly_monday_time: - '09:00-17:00'
- name: Create non-recurring schedule object paloaltonetworks.panos.panos_schedule_object: provider: '{{ device }}' name: 'Week-of-Sept-21' type: 'non-recurring' non_recurring_date_time: '2020/09/21@00:15-2020/09/25@17:00'
name: description: - Name of the object. type: str port: default: 443 description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The port number to connect to the PAN-OS device on. type: int type: choices: - recurring - non-recurring description: - Type of schedule type: str vsys: default: vsys1 description: - The vsys this object belongs to. type: str state: choices: - present - absent - replaced - merged - deleted - gathered default: present description: - The state. type: str api_key: description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The API key to use instead of generating it using I(username) / I(password). type: str password: description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The password to use for authentication. This is ignored if I(api_key) is specified. type: str provider: description: - A dict object containing connection details. suboptions: api_key: description: - The API key to use instead of generating it using I(username) / I(password). type: str ip_address: description: - The IP address or hostname of the PAN-OS device being configured. type: str password: description: - The password to use for authentication. This is ignored if I(api_key) is specified. type: str port: default: 443 description: - The port number to connect to the PAN-OS device on. type: int serial_number: description: - The serial number of a firewall to use for targeted commands. If I(ip_address) is not a Panorama PAN-OS device, then this param is ignored. type: str username: default: admin description: - The username to use for authentication. This is ignored if I(api_key) is specified. type: str type: dict version_added: 1.0.0 version_added_collection: paloaltonetworks.panos username: default: admin description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The username to use for authentication. This is ignored if I(api_key) is specified. type: str daily_time: description: - Time range (e.x. '17:00-19:00') for a daily recurring schedule elements: str type: list ip_address: description: - B(Deprecated) - Use I(provider) to specify PAN-OS connectivity instead. - HORIZONTALLINE - The IP address or hostname of the PAN-OS device being configured. type: str recurrence: choices: - daily - weekly description: - Recurrence schedule type: str device_group: default: shared description: - (Panorama only) The device group the operation should target. type: str gathered_filter: description: - When I(state=gathered). - An advanced filtering option to filter results returned from PAN-OS. - Refer to the guide discussing I(gathered_filter) for more information. type: str disable_override: description: - If the override is disabled type: bool weekly_friday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Friday) elements: str type: list weekly_monday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Monday) elements: str type: list weekly_sunday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Sunday) elements: str type: list weekly_tuesday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Tuesday) elements: str type: list weekly_saturday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Saturday) elements: str type: list weekly_thursday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Thursday) elements: str type: list weekly_wednesday_time: description: - Time range (e.x. '17:00-19:00') for a weekly recurring schedule (Wednesday) elements: str type: list non_recurring_date_time: description: - Date and time range string (e.x. '2019/11/01@00:15-2019/11/28@00:30') for a non-recurring schedule elements: str type: list