update..
This commit is contained in:
@@ -59,6 +59,20 @@
|
||||
- copy-files
|
||||
- copy-template-files
|
||||
|
||||
- name: (copy_files.yml) Ensure directory /etc/postfix exists
|
||||
ansible.builtin.file:
|
||||
path: /etc/postfix
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0755"
|
||||
when:
|
||||
- inventory_hostname in groups['mail_server']
|
||||
tags:
|
||||
- copy-files
|
||||
- copy-plain-files
|
||||
- copy-template-files
|
||||
|
||||
- name: (copy_files.yml) GLOBAL copy plain files Postfix (/etc/postfix)
|
||||
ansible.builtin.copy:
|
||||
src: "{{ item.src_path }}"
|
||||
|
||||
Reference in New Issue
Block a user