Comments (9)
@n0one42 sorry to hear, I respect your decision though. If you want to discuss your use cases with a real human, feel free to talk to our product expert @Ben8t - I'm sure that frustrations with expressions are solvable
from kestra.
Hello @n0one42 , would be happy to talk about your case over call - here is my schedule slots
from kestra.
@anna-geller
As a hint because you changed the name:
It has not only to do with ansible playbooks but also with docker compose files. This is why I actually upload the docker compose files first to the remote server.
from kestra.
The example was for Ansible, can you share other examples where you see that issue?
from kestra.
@anna-geller
It does not matter if its an ansible, an docker compose or what ever. It has to do with the interpretation of yml files by itself. More over with the io.kestra.plugin.core.flow.WorkingDirectory
id: yaml_test
namespace: homelab.dev
description: Testing yml files
labels:
project: Test
variables:
host: "xxx"
ssh_port: xxx
primary_user_name: "xxx"
tasks:
- id: wdir
type: io.kestra.plugin.core.flow.WorkingDirectory
inputFiles:
myfile.yml: |
Do not interpret it... {% raw %}{{ item }}{% endraw %}
outputFiles:
- "*"
tasks:
- id: showContent
type: io.kestra.plugin.scripts.shell.Commands
commands:
- ls {{ workingDir }}
- echo "Task is needed here... so placeholdertask"
- id: upload
type: io.kestra.plugin.fs.sftp.Upload
host: "{{ vars.host }}"
username: "{{ vars.primary_user_name }}"
keyfile: "{{ read('shared/secrets/xxx') }}"
port: "{{ vars.ssh_port }}"
from: "{{ outputs.wdir.outputFiles['myfile.yml'] }}"
to: "myfile.yml"
Results:
myfile.yml: |
Do not interpret it... {% raw %}{{ item }}{% endraw %}
Failed preExecuteTasks on WorkingDirectory: Unable to find `item` used in the expression `Do not interpret it... {{ item }}
` at line 1
myfile.yml: |
{% raw %}Do not interpret it... {{ item }}{% endraw %}
Failed preExecuteTasks on WorkingDirectory: Unable to find `item` used in the expression `Do not interpret it... {{ item }}
` at line 1
from kestra.
yes, I'm just asking for more examples, this will help us identify the right solution
from kestra.
hey @n0one42, I talked to the team and there seems to be a misunderstanding about when the fix will be available. Your first issue #4093 was closed after the fix was done. However, the fix hasn't been released yet. It will be released by the latest in Kestra 0.18 planned for the 6th of August.
from kestra.
@anna-geller but he wrote:
So the issue was that we render twice the file content, I fixed it, it will be backported for our next bugfix release on 0.17
so the v0.17 was already out... Anyway. I think, this could be a pretty cool software but atm. for me and the companies I support, it is not worth it yet the hassle. There are to many issues. Lets hope for the best.
from kestra.
It has been backported to 0.17.11.
from kestra.
Related Issues (20)
- Enhance the purge tasks
- Page not found when opening some files in the Editor HOT 1
- Control columns order for FileTransform tasks
- Improve UI of the namespace files editor empty state
- Add an option to select\delete all executions HOT 3
- Subflow execution topology expand button doesn't work (expand functionality seems broken)
- Logs opened from the Execution Topology view are missing (empty display)
- Extend TemplatedTask to Trigger HOT 1
- DuckDB plugin does not support DuckDBArray data type HOT 2
- [API] Add a new endpoint to return every Alias for a given type HOT 1
- Array inputs in the low code editor are missing
- TEst
- Broken link in md file HOT 2
- UI caching on the server
- Pebble filters applied to JSON inputs produce non-JSON strings
- Discrepancy between namepace and flow editor
- Display current namespace
- False failed hightouch flow
- Request/Bug : Use charset UTF-8 in Ion mapper HOT 1
- Edit and Delete options not visible for KV Store HOT 1
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 kestra.