diff --git a/ansible/playbooks/universe.yaml b/ansible/playbooks/universe.yaml index 4d1977aca1b..780c480ecb5 100644 --- a/ansible/playbooks/universe.yaml +++ b/ansible/playbooks/universe.yaml @@ -10,8 +10,8 @@ pre_tasks: - name: Verify OS ansible.builtin.fail: - msg: Only Ubuntu 22.04 is supported for this branch. Please refer to https://autowarefoundation.github.io/autoware-documentation/main/installation/autoware/source-installation/. - when: ansible_distribution_version != '22.04' + msg: Only Ubuntu 22.04 / 24.04 is supported + when: ansible_distribution != 'Ubuntu' or (ansible_distribution_version != '22.04' and ansible_distribution_version != '24.04') - name: Print args ansible.builtin.debug: