Project

General

Profile

Actions

User story #18905

closed

Document usage of sys.ipv4 var in jinja

Added by Alexis Mousset about 3 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
Checked
Regression:

Description

Some systemd vars which are both string and array have a strange mapping to data.

Using them requires accessing sys.ipv4[eth0] as a string variable, which is unexpected and a bit tricky in jinja2.

Let's add an example to the docs.

Actions

Also available in: Atom PDF