--- - name: Deploy configuration template: src={{ item.src }} dest={ item.dest }} loop: - src: log4j2.xml.j2 dest: "{{ jmeter_root_dir }}/bin/log4j2.xml" notify: restart jmeter-server tags: jmeter