Fix postfixadmin user bootstrap
This commit is contained in:
parent
d982f55dbf
commit
ce3be7d99e
3 changed files with 7 additions and 7 deletions
roles
|
@ -1,10 +1,8 @@
|
|||
---
|
||||
|
||||
- name: install packages
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- postfix
|
||||
- postfix-mysql
|
||||
- mailutils
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
- postfix
|
||||
- postfix-mysql
|
||||
- mailutils
|
||||
|
|
|
@ -49,5 +49,6 @@
|
|||
password2: '{{ postfixadmin_bootstrap_admin_password }}'
|
||||
submit: 'Add Admin'
|
||||
return_content: yes
|
||||
register: postfixadmin_register_boostrap_create_admin
|
||||
changed_when: yes
|
||||
failed_when: '"Admin addition failed" in postfixadmin_register_boostrap_create_admin.content or postfixadmin_register_boostrap_create_admin.status != 200'
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
- php-imap
|
||||
- php-mysql
|
||||
- php-mbstring
|
||||
- python3-pymysql # required by ansible
|
||||
|
||||
- name: create postfixadmin installation directory
|
||||
ansible.builtin.file:
|
||||
|
|
Loading…
Add table
Reference in a new issue