Few minor changes in the lookup description

This commit is contained in:
Konstantin Kuminsky 2025-02-07 15:34:17 -05:00 committed by Pablo H.
parent 0ffe04ed9c
commit e961cbe46f

View File

@ -29,7 +29,7 @@ DOCUMENTATION = """
description:
- The date to start the rule
- Used for all frequencies
- Format should be YYYY-MM-DD [HH:MM:SS]
- Format should be 'YYYY-MM-DD HH:MM:SS'
type: str
timezone:
description:
@ -47,8 +47,8 @@ DOCUMENTATION = """
description:
- How to end this schedule
- If this is not defined, this schedule will never end
- If this is a positive integer, this schedule will end after this number of occurences
- If this is a date in the format YYYY-MM-DD [HH:MM:SS], this schedule ends after this date
- If this is a positive number, specified as a string, this schedule will end after this number of occurrences
- If this is a date in the format 'YYYY-MM-DD HH:MM:SS', this schedule ends after this date
- Used for all types except none
type: str
on_days:
@ -75,7 +75,7 @@ DOCUMENTATION = """
EXAMPLES = """
- name: Create a string for a schedule
debug:
msg: "{{ lookup('awx.awx.schedule_rrule', 'none', start_date='1979-09-13 03:45:07') }}"
msg: "{{ lookup('ansible.controller.schedule_rrule', 'none', start_date='1979-09-13 03:45:07') }}"
"""
RETURN = """