Comments (7)
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.
I'll organise the change tonight for you, thanks for the feedback!
from ansible-role-rust.
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.
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.
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.
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.
no rush, it can wait. Thanks for all the work!
from ansible-role-rust.
Related Issues (15)
- Shell session restart
- Crate installation verification
- .stdout usage in task files breaks execution HOT 2
- Update Rust version
- Condition error HOT 10
- overwrite message has changed for cargo
- [WARNING]: Consider using the get_url or uri module rather than running 'curl'.
- Cargo: add --root option support HOT 1
- Work plan HOT 1
- Tagging current HEAD
- Support Cosmic
- Support Fedora 29
- Remove deprecation notices
- Upgrade testing framework
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-rust.