<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 11, 2022 at 5:43 PM Bill <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 7/11/22 16:00, James Abernathy wrote:<br>
...<br>
> <br>
> I went ahead and ran it against Debian testing (Bookworm)<br>
> <br>
> Failed also:<br>
> I put the console output on pastebin<br>
> <br>
> <a href="https://pastebin.com/pZC9dRs3" rel="noreferrer" target="_blank">https://pastebin.com/pZC9dRs3</a> <<a href="https://pastebin.com/pZC9dRs3" rel="noreferrer" target="_blank">https://pastebin.com/pZC9dRs3</a>><br>
<br>
Thanks! I removed libcrystalhd-dev from Mint. And it looks like<br>
the test has been for ansible_lsb.major_release is always a number<br>
(< 11) in this case. So if ansible_lsb.major_release is testing,<br>
it will fail.<br>
<br>
I make some changes. Mint should work.<br>
<br>
'testing' may still fail, but there will be more output under:<br>
<br>
TASK [common : Information used to select which roles/tasks run] **<br>
<br>
I'm now checking: (ansible_distribution_major_version|int < 11) or (ansible_lsb.major_release|int== |int < 11))<br>
<br>
-- <br>
Bill</blockquote><div><br></div><div>With the latest changes, LMDE5 run completed without errors. All the packages from the non-ansible list of dependencies were installed.</div><div><br></div><div>However, Debian Testing (bookworm) still has issues:</div><div><br></div><div>jim@debian:~/ansible$ ./mythtv.yml --limit=localhost --check<br>BECOME password:<br><br>PLAY [mythtv_hosts] ******************************************************************************************<br><br>TASK [Gathering Facts] ***************************************************************************************<br>[WARNING]: Platform linux on host localhost is using the discovered Python interpreter at<br>/usr/bin/python3.10, but future installation of another Python interpreter could change the meaning of that<br>path. See <a href="https://docs.ansible.com/ansible-core/2.12/reference_appendices/interpreter_discovery.html">https://docs.ansible.com/ansible-core/2.12/reference_appendices/interpreter_discovery.html</a> for more<br>information.<br>ok: [localhost]<br><br>TASK [common : Information used to select which roles/tasks run] *********************************************<br>ok: [localhost] => {<br> "msg": [<br> "Inventory Hostname: localhost",<br> "Distribution: Debian",<br> "Major Version: testing",<br> "Major Release: testing",<br> "Package Manager: apt"<br> ]<br>}<br><br>TASK [mythtv-deb : create a list of deb compilers and build essentials] **************************************<br>ok: [localhost]<br><br>TASK [mythtv-deb : add mythtv essential build libraries] *****************************************************<br>ok: [localhost]<br><br>TASK [mythtv-deb : add mythtv extra build libraries] *********************************************************<br>ok: [localhost]<br><br>TASK [mythtv-deb : include_tasks] ****************************************************************************<br>included: /home/jim/ansible/roles/mythtv-deb/tasks/debian.yml for localhost<br><br>TASK [mythtv-deb : add mythtv extra build libraries] *********************************************************<br>fatal: [localhost]: FAILED! => {"msg": "The conditional check '((ansible_distribution_major_version|int < 11) or (ansible_lsb.major_release|int== |int < 11))' failed. The error was: template error while templating string: unexpected '|'. String: {% if ((ansible_distribution_major_version|int < 11) or (ansible_lsb.major_release|int== |int < 11)) %} True {% else %} False {% endif %}\n\nThe error appears to be in '/home/jim/ansible/roles/mythtv-deb/tasks/debian.yml': line 41, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: add mythtv extra build libraries\n ^ here\n"}<br><br>PLAY RECAP ***************************************************************************************************<br>localhost : ok=6 changed=0 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0 <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br></blockquote></div></div>