Summary
I try to deploy my Application to AAP using infra.aap_configuration. By default I try to use
aap_configuration_enforce_defaults: true
When I want to create a scheduler for a Jobtemplate an error occurs: "Unable to update scheduler"
Setting aap_configuration_enforce_defaults: false it works.
Issue Type
Ansible, Collection, Controller details
ansible --version
ansible [core 2.20.1]
config file = None
configured module search path = ['/home/wbrandt/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/wbrandt/.local/lib/python3.14/site-packages/ansible
ansible collection location = /home/wbrandt/.ansible/collections:/usr/share/ansible/collections
executable location = /home/wbrandt/.local/bin/ansible
python version = 3.14.3 (main, Feb 4 2026, 00:00:00) [GCC 15.2.1 20260123 (Red Hat 15.2.1-7)] (/usr/sbin/python)
jinja version = 3.1.6
pyyaml version = 6.0.3 (with libyaml v0.2.5)
ansible-galaxy collection list
Collection Version
---------------------------------------- ------------
ansible.controller 4.7.8
ansible.eda 2.10.0
ansible.hub 1.0.3
ansible.platform 2.6.20251106
community.general 12.3.0
community.mysql 4.0.1
infra.aap_configuration 4.2.1
Controller version
AAP Controller version 4.7.8
- ansible installation method: one of source, pip, OS package, EE
pip install
OS / ENVIRONMENT
Desired Behavior
Actual Behavior
Please give some details of what is actually happening.
Include a [minimum complete verifiable example] with:
- name: Update Scheduler
hosts: scheduler
vars:
aap_configuration_enforce_defaults: true
controller_templates:
- name: "server_report"
organization: "{{ aap_org }}"
credentials:
- "mycredential"
execution_environment: "Hub Default execution environment"
extra_vars: {}
inventory: "common_inventory"
playbook: playbooks/report/main.yml
project: "myproject"
controller_schedules:
- name: "server_report"
rrule: "DTSTART;TZID=Europe/Berlin:20250823T224500 RRULE:INTERVAL=1;FREQ=DAILY"
unified_job_template: "server_report"
enabled: true
tasks:
- name: Create job_templates
ansible.builtin.include_role:
name: infra.aap_configuration.controller_job_templates
when: controller_templates is defined
- name: Create schedules
ansible.builtin.include_role:
name: infra.aap_configuration.controller_schedules
when: controller_schedules is defined
[ERROR]: Task failed: Module failed: Unable to update schedule ABS-TEST-server_report, see response
Origin: /home/wbrandt/.ansible/collections/ansible_collections/infra/aap_configuration/roles/collect_async_status/tasks/main.yml:5:7
3 no_log: "{{ cas_secure_logging }}"
4 block:
5 - name: "{{ cas_object_label }}"
^ column 7
fatal: [localhost]: FAILED! => {"ansible_job_id": "j241137659199.194214", "attempts": 2, "changed": false, "finished": true, "msg": "Unable to update schedule server_report, see response", "response": {"json": {"detail": "Bad data found in related field execution_environment."}, "status_code": 400}, "results_file": "/home/wbrandt/.ansible_async/j241137659199.194214", "started": true, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
STEPS TO REPRODUCE
Summary
I try to deploy my Application to AAP using
infra.aap_configuration. By default I try to useaap_configuration_enforce_defaults: trueWhen I want to create a scheduler for a Jobtemplate an error occurs: "Unable to update scheduler"
Setting
aap_configuration_enforce_defaults: falseit works.Issue Type
Ansible, Collection, Controller details
pip install
OS / ENVIRONMENT
Desired Behavior
Actual Behavior
Please give some details of what is actually happening.
Include a [minimum complete verifiable example] with:
STEPS TO REPRODUCE