diff --git a/awx_collection/plugins/lookup/schedule_rrule.py b/awx_collection/plugins/lookup/schedule_rrule.py index 235bf9bb11..493a8d628e 100644 --- a/awx_collection/plugins/lookup/schedule_rrule.py +++ b/awx_collection/plugins/lookup/schedule_rrule.py @@ -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 = """