You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
500 B

# tasks file for dotqmail
- name: generate dotqmail-files
src: templates/dotqmail.j2
dest: "{{ansible_env.HOME}}/.qmail-{{item.key}}"
mode: 0644
with_dict: "{{dotqmail_files}}"
- name: Fetch all dotqmail files
paths: "{{ansible_env.HOME}}/"
patterns: ".qmail*"
hidden: True
register: old_dotqmail_files
- name: Test
msg: "File: {{item.path|basename|replace(dotqmail_prefix + '-','')}}"
with_items: "{{old_dotqmail_files.files}}"