Skip to content

Update networks.yml#69

Open
andrei4ka wants to merge 1 commit intostackhpc:masterfrom
andrei4ka:master
Open

Update networks.yml#69
andrei4ka wants to merge 1 commit intostackhpc:masterfrom
andrei4ka:master

Conversation

@andrei4ka
Copy link
Copy Markdown

Right way to lookup custom xml file

Right way to lookup custom xml file
Comment thread tasks/networks.yml
name: "{{ item.name }}"
command: define
xml: "{{ item.xml | default(lookup('template', 'network.xml.j2')) }}"
xml: "{{ lookup('template', item.xml | default('network.xml.j2')) }}"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the behaviour from item.xml being the XML network definition to the name of a template file containing the XML definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants