You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get two warning messages when task configure_swap runs:
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
swap_file_exists.stat.exists and swap_enabled.rc > 0 and (not swap_enabled or (swap_enabled and
swap_file_exists.stat.size != ({{ __swapfile_size }} * 0.75 * 1024 * 1024)))
or (swap_enabled and swap_file_exists.stat.size != ({{ __swapfile_size }} * 0.75 * 1024 * 1024)))
[WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found:
not swap_file_exists.stat.exists or swap_file_exists.stat.size != ({{ __swapfile_size }} * 0.75 * 1024 * 1024)
Acknowledged.
We will remove the Jinja2 templating delimiter ({{ }} from the conditional statement. For now, the warning can be ignored. An internal WI has been created.
I get two warning messages when task
configure_swap
runs:connections-automation/roles/third_party/linux/swap-setup/tasks/configure_swap.yml
Lines 18 to 22 in 4e0466a
connections-automation/roles/third_party/linux/swap-setup/tasks/configure_swap.yml
Lines 34 to 36 in 4e0466a
The text was updated successfully, but these errors were encountered: