Opened 9 months ago

Closed 8 months 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)

comment:1 Changed 8 months ago by Stuart Auchterlonie

Milestone: needs_triage31.0
Status: newaccepted

comment:2 Changed 8 months ago by Stuart Auchterlonie

Resolution: Fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.