Project

General

Profile

Actions

Feature #18143

closed

Snippet macros should support passing variables

Added by Marek Hulán over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Fixed in Releases:
Found in Releases:

Description

It would be good to have option to pass variables to snippets, otherwise it's impossible to reuse snippets with different variables with safe mode. E.g. we could have a snippet for rendering NIC configuration which repeats in the template several times.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #18227: Snippet with variables does not reset @vars after they finish in unsafe modeClosedMarek Hulán01/24/2017Actions
Actions

Also available in: Atom PDF