Giter VIP home page Giter VIP logo

Comments (4)

sumodirjo avatar sumodirjo commented on July 17, 2024 2

I tried changing the ansible_apt_repo variable value to '' and my test can run on Focal.

My understanding is that kitchen-ansible will install ansible from the Ubuntu repository. There is a potential problem that ansible version between ubuntu release is different. So the test might be run with different ansible on different Ubuntu releases.

from kitchen-ansible.

budgester avatar budgester commented on July 17, 2024

Referenced ansible/ansible#69161

from kitchen-ansible.

neillturner avatar neillturner commented on July 17, 2024

by default require_ansible_repo is set to true and it Installs from the operation system repository only with the ansible version.
in ubuntu's case this is the

ansible_apt_repo parameter ppa:ansible/ansible

this looks like an issue with ansible and ubuntu ansible/ansible#69414

geerlingguy/packer-boxes#63
he got around by installing with pip3 so i suggest you use
set in kitchen.yml require_pip3 to true and install that way.

from kitchen-ansible.

olhado avatar olhado commented on July 17, 2024

So I have an ansible role that I want to run tests on, across multiple versions of ubuntu (16.04, 18.04, 20.04). @sumodirjo's workaround doesn't work for me, because I don't want to skip over the official ppa package for the older LTS releases. I have an MR (#324) that works around the current issues for now, which can be removed if ansible ever supports it.

I verified with kitchen-docker that ubuntu 16.04, 18.04, and 20.04 can all run my role successfully.

from kitchen-ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.