Initially, no log levels are defined in the var file. Customization
left to users. This patch adds the condition to run the customization
task only when those variables have been defined, else installation
will fail.
Change-Id: I9acff6e7cd86100525b327819a148f0471ce5716
Signed-off-by: Taseer <taseer94@gmail.com>
regexp: "^log4j2.{{ item.value.log_name }}.level.*s"
line: "log4j2.{{ item.value.log_name }}.level = {{ item.value.log_level }}"
with_dict: "{{ log_levels }}"
+ when: "item.value.log_name != None"
- name: configure console logging
block: