-- name: install newmail templates
- copy:
- dest: /root/newmail/templates.py
- src: files/newmail/templates.py
+- name: install newmail config
+ template:
+ dest: /root/newmail/{{ item }}
+ src: templates/newmail/{{ item }}
+ loop:
+ - templates.py
+ - settings.py