On Tue, Aug 27, 2019 at 02:50:57PM -0400, Dusty Mabe wrote: > > > On 8/27/19 2:21 PM, Kevin Fenzi wrote: > > Greetings. > > > > we are now in the infrastructure freeze leading up to the Fedora 31 > > Beta release. This is a pre release freeze. > > > > We do this to ensure that our infrastructure is stable and ready to > > release the Fedora 31 Beta when it's available. > > > > You can see a list of hosts that do not freeze by checking out the > > ansible repo and running the freezelist script: > > > > git clone > > https://infrastructure.fedoraproject.org/infra/ansible.git > > ansible/scripts/freezelist -i inventory > > I had a problem with this because I didn't have python2 libraries > for ansible installed so the `import ansible.inventory` failed. > > Switching the script to python3 worked. Should we apply this? > > $ git diff > diff --git a/scripts/freezelist b/scripts/freezelist > index 89856ea09..b1c99054c 100755 > --- a/scripts/freezelist > +++ b/scripts/freezelist > @@ -1,4 +1,4 @@ > -#!/usr/bin/python > +#!/usr/bin/python3 > # skvidal > # doteast: porting to ansible 2.0 > # dump out the hosts marked with 'freezes: true' in their vars If all you need is to change the shebang, then instead of doing: ``ansible/scripts/freezelist -i inventory`` you can do: ``python3 ansible/scripts/freezelist -i inventory`` and it should work with python3 as well :) Pierre _______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx