On Tue, 13 Oct 2015 20:36:39 -0600 Orion Poplawski <orion@xxxxxxxxxxxxx> wrote: > On 10/13/2015 08:21 PM, Dusty Mabe wrote: > > > > > > Hey all, > > > > Just wondering if anyone has started to feel any pain from trying to > > use ansible with F23 systems. As part of the Fedora Cloud working > > group it would be nice to ship a system that could be targeted by > > ansible out of the box. Unfortunately, since ansible uses python 2.X > > vs python 3 it doesn't really work. > > > > A simple answer would be to "just install python", but I actually > > hit several roadblocks because of python packages that are usually > > there but have been replaced by their python 3 counterparts. As an > > example for one ansible playbook like [1] I had to install these > > rpms in order to get it to work: > > > > python libselinux-python python-dnf python-docker-py I'm not sure how thats a roadblock... 4 packages and their deps? > > Unfortunately there isn't a catchall that is a workaround for this > > problem because the libraries you need on the system depend on the > > modules you will use. Right. > > Does anyone have a good solution for this? Obviously it would be > > nice if ansible went to python3 but I think they have stated > > clearly that they are sticking with python2 for backwards compat > > with systems that still need 2.4. Install the python2 packages you need. > > -Dusty > > > > [1] - > > https://github.com/dustymabe/vagrantdirs/blob/master/f22/playbook.yml > > > > I suspect this is probably better to be hashed out in a bugreport, > but perhaps one solution would be to produce an ansible-runtime meta > package or comps group that pulls in standard packages needed to run > ansible locally. Otherwise I don't see how you get around what you > need on a system by just installing it. I don't see how that could work. Ansible has tons of modules, which ones are "standard" ? Such a package would have a ton of deps... kevin
Attachment:
pgpuGLL25yjx1.pgp
Description: OpenPGP digital signature
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct