Browse Source

Add task to create all configured dotqmail-files

master
Jonathan Golder 6 years ago
parent
commit
155b9e8e4d
  1. 2
      defaults/main.yml
  2. 6
      tasks/main.yml

2
defaults/main.yml

@ -1,2 +1,4 @@
---
# defaults file for dotqmail
dotqmail_prefix : ".qmail"

6
tasks/main.yml

@ -1,2 +1,8 @@
---
# tasks file for dotqmail
- name: generate dotqmail-files
template:
src: templates/dotqmail.j2
dest: "{{ansible_env.HOME}}/.qmail-{{item.key}}"
mode: 0644
with_dict: "{{dotqmail_files}}"

Loading…
Cancel
Save