mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 23:15:57 +03:00
[GH-ISSUE #2350] templating engine not processing variables (Global Key Store and Agent variables fail) #3394
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3394
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ninjoan on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/2350
Hi team, I'm experiencing an issue where the Jinja2 templating engine seems to be completely disabled or non-functional for my scripts.
Both Global Key Store variables ({{global.}}) and standard Agent variables ({{agent.}}) are not being replaced. The literal template string is passed directly to the agent.
Steps to Reproduce
TacticalRMM Version: v1.2.0
@wh1te909 commented on GitHub (Nov 16, 2025):
this is not how the templating engine works. you need to pass them in as script arguments or environment variables, not directly in the script. check this video for an example: https://www.youtube.com/watch?v=uWdzxbJjrm4
@P6g9YHK6 commented on GitHub (Nov 17, 2025):
one day you need to implement this.
everyone is getting it wrong but if intuitively people do it like this it should be the way to go
@ninjoan commented on GitHub (Nov 17, 2025):
thanks you!