Skip to content

Commit

Permalink
Changed to use major_release instead of codename
Browse files Browse the repository at this point in the history
Renamed task file to `Raspbian-11` (from `Raspbian-bullseye`)
Removed set_facts for distribution codename

Signed-off-by: Jon Erling Hustadnes <[email protected]>
  • Loading branch information
husjon authored and dereknola committed Nov 7, 2023
1 parent 368df26 commit 7ff5fe1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roles/raspberrypi/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@
include_tasks: "{{ item }}"
with_first_found:
- "prereq/{{ detected_distribution }}-{{ detected_distribution_major_version }}.yml"
- "prereq/{{ detected_distribution }}-{{ detected_distribution_codename }}.yml"
- "prereq/{{ detected_distribution }}.yml"
- "prereq/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
- "prereq/{{ ansible_distribution }}-{{ ansible_distribution_codename }}.yml"
- "prereq/{{ ansible_distribution }}.yml"
- "prereq/default.yml"
when:
Expand Down

0 comments on commit 7ff5fe1

Please sign in to comment.