Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/mythtv/tasks/homebrew_macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- name: homebrew_macosx | Set qt6 to true
set_fact:
qt6: true
when: qt5 is undefined
when: not qt5 | default(false) | bool

- name: homebrew_macosx | Set cpanm_active to true
set_fact:
Expand Down
6 changes: 3 additions & 3 deletions roles/mythtv/tasks/macports_macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- name: macports_macosx | Set qt6 to true
set_fact:
qt6: true
when: qt5 is undefined
when: not qt5 | default(false) | bool

- name: macports_macosx | Set venv_active to true
set_fact:
Expand Down Expand Up @@ -62,12 +62,12 @@
- name: macports_macosx | Set qt_version as qt5
set_fact:
qt_version: qt5
when: qt5 is defined and qt5
when: qt5 | default(false) | bool

- name: macports_macosx | Set qt_version as qt6
set_fact:
qt_version: qt6
when: qt5 is undefined or not qt5
when: qt5 | default(true) | bool

# get the python version specified by user in ansible_python_interpreter or defaulted by the interpreter
- name: macports_macosx | Gather specific Python facts
Expand Down