Opened 5 years ago
Closed 5 years ago
#13527 closed Patch - Feature (Fixed)
Feature patch - Ansible - Install python3 modules for F30 for builds
Reported by: | Gary Buhrmaster | Owned by: | Stuart Auchterlonie |
---|---|---|---|
Priority: | minor | Milestone: | 31.0 |
Component: | Ansible | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Ansible feature patch to allow building with python3 on F30 or greater (adding F30 to the releases supported).
This should allow the ansible playbooks to be used for building master (soon to be v31) with python3 on F30, as python3 is now the default as of commit 955eb75 in master.
Proposed patch:
diff --git a/roles/mythtv-dnf/tasks/main.yml b/roles/mythtv-dnf/tasks/main.yml index e1c5276..e87b05d 100644 --- a/roles/mythtv-dnf/tasks/main.yml +++ b/roles/mythtv-dnf/tasks/main.yml @@ -125,7 +125,7 @@ - python2-future when: ansible_distribution == "Fedora" and ansible_distribution_version|int < 31 -- name: add mythtv essential python modules - Fedora 31+ +- name: add mythtv essential python3 modules - Fedora 30+ set_fact: dnf_pkg_lst: - '{{ dnf_pkg_lst }}' @@ -134,7 +134,7 @@ - python3-mysql - python3-requests-cache - python3-simplejson - when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 31 + when: ansible_distribution == "Fedora" and ansible_distribution_version|int >= 30 - name: add mythtv essential perl modules set_fact:
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fixed in https://github.com/MythTV/ansible/commit/ff233e8b438ac8fc1bf6f5ae70e7c465246590bd