[EDIT]
I’ve confused WP_MEMORY_LIMIT with php-memory-limit reading this (confusing) post
Increasing WP_Memory_Limit
Please, unlist!
[/EDIT]
I need to increase WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT to 256M.
WP_MEMORY_LIMIT is easy to change at roles/php/defaults/main.yml but there is no WP_MAX_MEMORY_LIMIT variable there. I can create it this way:
php_max_memory_limit: 256M
Should I create also a line at roles/php/templates/php.ini.j2?
max_memory_limit = {{ php_max_memory_limit }}
Is it right? thank you.