News for hackers. Stuff that matters.
Re:Ansible 2.1 Released, with Network Automation, Containers by Aissen on Thursday May 26, 2016 @08:48AM (#11777482)
Or, they could support both so that they can be an agent for distros that won't have python2 installed and only python3 (AFAIK they don't exist yet).
Re:Ansible 2.1 Released, with Network Automation, Containers by renaudg on Thursday May 26, 2016 @09:10AM (#11777600)
The latest Ubuntu LTS 16.04 only has Python3 installed by default. For Ansible modules to run at all, you need to install Python 2 first (possibly using "pre_tasks" + a "raw:" command in your Ansible playbook)
Re:Ansible 2.1 Released, with Network Automation, Containers by rlpb on Thursday May 26, 2016 @09:10AM (#11777598)
Ubuntu Server no longer has Python 2 installed by default (though it's available if you want it). This is the case on 16.04.
Re:Ansible 2.1 Released, with Network Automation, Containers by Aissen on Thursday May 26, 2016 @09:41AM (#11777824)
Ah, I thought I heard about that somewhere. I did tests on 16.04 recently with ansible, but python2 was here, so I guess the image I was using wasn't a vanilla ubuntu (from a VPS provider).