Coder Social home page Coder Social logo

Comments (7)

jkryl avatar jkryl commented on June 4, 2024 1

it works but I had to rewrite the condition as follows:

  when:
    - ansible_os_family == "Debian"
    - '"curl" not in rust_which_curl.stdout or "gcc" not in rust_which_gcc.stdout'

The form with parenthesis and "and" did not work for me. Thanks!

from ansible-role-rust.

fubarhouse avatar fubarhouse commented on June 4, 2024 1

I'll organise the change tonight for you, thanks for the feedback!

from ansible-role-rust.

fubarhouse avatar fubarhouse commented on June 4, 2024

@jkryl,

It's an interesting idea - I'll see if the role tests well without the task and get back to you.

edit: It's not completely useless - if curl is not installed then the role will fail. We could mark gcc and curl as requirements for the role. I could simply move those tasks for testing.

from ansible-role-rust.

fubarhouse avatar fubarhouse commented on June 4, 2024

@jkryl,

Could you please try the branch prevent-package-install?

It has extra logic to not include the package files when curl and gcc are already found, and it should accommodate what you're doing.

Let me know how it goes and I'll organise a PR.

from ansible-role-rust.

fubarhouse avatar fubarhouse commented on June 4, 2024

The tests are beginning to pass so this should be merged tonight - they run for a while and there would be three: push, PR and merge. I'll update this one after it's merged.

from ansible-role-rust.

fubarhouse avatar fubarhouse commented on June 4, 2024

Would you like a point release for this one, or is there no urgency it to be included in a tag?

from ansible-role-rust.

jkryl avatar jkryl commented on June 4, 2024

no rush, it can wait. Thanks for all the work!

from ansible-role-rust.

Related Issues (15)

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.