--- # file: tasks/ubuntu_noble.yaml - name: "Enable deb-src APT Repository" ansible.builtin.apt_repository: repo: "deb-src {{ packages_repo[ansible_distribution|lower][ansible_machine] }} noble main" state: "present" update_cache: true tags: - aws-enable-src-repo - name: "Update Package Cache (APT)" ansible.builtin.apt: update_cache: true cache_valid_time: 3600 when: - ansible_distribution == 'Ubuntu' tags: - aws-enable-src-repo