Re: Intent to orphan Python 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2018-04-04 at 10:51 -0700, Kevin Fenzi wrote:
> On 04/04/2018 10:46 AM, Kevin Fenzi wrote:
> > On 04/04/2018 09:21 AM, James Hogarth wrote:
> > 
> > ...snip...
> > 
> > > Can we please get some consistency here?
> > > 
> > > I noted today that firewalld has dropped python2-firewall but of course
> > > ansible isn't switching to py3 for the controller (and therefore local)
> > > until F29 and not all python modules are py3 compatible yet... and of
> > > course we ship firewalld as our firewall in fedora.
> > > 
> > > This means that in F28 you can't just `yum  install ansible
> > > python-firewall` and do ansible localhost -m firewalld and have it work.
> > 
> > Yeah, you would need to set ansible_python_interpreter for localhost,
> > which you could add to your command line with -e...
> > -e 'ansible_python_interpreter=/usr/bin/python3'
> 
> Or, actually:
> 
> yum install ansible-python3 python-firewall
> ansible localhost -m firewalld
> 
> (since ansible-python3 defaults to python3 for the control host/localhost)

This rather begs the question of whether there are any modules which
only work *with python 2*, though...
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux