diff --git a/awx_collection/plugins/modules/tower_schedule.py b/awx_collection/plugins/modules/tower_schedule.py index 99a354f032..19993b4089 100644 --- a/awx_collection/plugins/modules/tower_schedule.py +++ b/awx_collection/plugins/modules/tower_schedule.py @@ -37,7 +37,7 @@ options: new_name: description: - Setting this option will change the existing name (looked up via the name field. - required: True + required: False type: str description: description: diff --git a/awx_collection/tests/integration/targets/tower_schedule/tasks/main.yml b/awx_collection/tests/integration/targets/tower_schedule/tasks/main.yml index 3dd1e8ff8c..764f702f13 100644 --- a/awx_collection/tests/integration/targets/tower_schedule/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_schedule/tasks/main.yml @@ -60,7 +60,7 @@ that: - result is changed -- name: Rebuild the same scedule +- name: Rebuild the same schedule tower_schedule: name: "{{ sched1 }}" state: present