We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The variable is used by the template templates/mapfile.j2. The Template has following structure:
templates/mapfile.j2
{{ ansible_managed | comment }} {% for mapping in __postfix_mappings %} {% for key, value in mapping.items() %} {{ key }} {{ value }} {% endfor %} {% endfor %}
The question is, why is it a list of dict keys, which should be unique? Currently you could do something like this:
postfix_sender_canonicals: - root: test1@example.com - root: test2@example.com
Which would result in:
root test1@example.com root test2@example.com
If the variable would be a single dictionary, such thing would not be possible because a dict can not have two keys with the same name.
So the question is, why is it implemented as a list?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The variable is used by the template
templates/mapfile.j2
. The Template has following structure:The question is, why is it a list of dict keys, which should be unique?
Currently you could do something like this:
Which would result in:
If the variable would be a single dictionary, such thing would not be possible because a dict can not have two keys with the same name.
So the question is, why is it implemented as a list?
The text was updated successfully, but these errors were encountered: