postfixadmin: Create missing parent directory

This commit is contained in:
s3lph 2021-11-02 23:14:52 +01:00
parent 29a6be60cd
commit bc9da968ef
2 changed files with 9 additions and 1 deletions
roles/postfixadmin
handlers
tasks

View file

@ -1,7 +1,7 @@
---
- name: reload postfix
ansible.buildin.service:
ansible.builtin.service:
name: postfix
state: reloaded

View file

@ -1,5 +1,13 @@
---
- name: create postfixadmin installation directory
ansible.builtin.file:
path: "{{ postfixadmin_installation_prefix }}"
state: directory
owner: root
group: www-data
mode: 0755
- name: download and unpack postfixadmin release
ansible.builtin.unarchive:
remote_src: yes