- name: Copy configuration files loop: - { src: 'influxdb.conf.j2', dest: '/etc/influxdb/influxdb.conf' } template: follow: yes src: "{{ item.src }}" dest: "{{ item.dest }}" tags: - influxdb notify: Run service actions # TODO: Set default retention policy and add volume mount config