|
|
@ -22,6 +22,8 @@ |
|
|
ansible.builtin.pip: |
|
|
ansible.builtin.pip: |
|
|
name: cryptography |
|
|
name: cryptography |
|
|
version: '>=1.2.3' |
|
|
version: '>=1.2.3' |
|
|
|
|
|
name: docker |
|
|
|
|
|
name: docker-compose |
|
|
become: yes |
|
|
become: yes |
|
|
|
|
|
|
|
|
- name: Create necessary directories |
|
|
- name: Create necessary directories |
|
|
@ -64,11 +66,11 @@ |
|
|
volumes: |
|
|
volumes: |
|
|
- /etc/timezone:/etc/timezone:ro |
|
|
- /etc/timezone:/etc/timezone:ro |
|
|
- /etc/localtime:/etc/localtime:ro |
|
|
- /etc/localtime:/etc/localtime:ro |
|
|
- ./main.cf:/etc/postfix/main.cf:ro |
|
|
|
|
|
- ./master.cf:/etc/postfix/master.cf:ro |
|
|
|
|
|
- ./conf:/etc/postfix/conf |
|
|
|
|
|
- ./spool:/var/spool/postfix |
|
|
|
|
|
- ./sasl2:/etc/sasl2 |
|
|
|
|
|
|
|
|
- {{ conf_dir }}/main.cf:/etc/postfix/main.cf:ro |
|
|
|
|
|
- {{ conf_dir }}/master.cf:/etc/postfix/master.cf:ro |
|
|
|
|
|
- {{ conf_dir }}/conf:/etc/postfix/conf |
|
|
|
|
|
- {{ conf_dir }}/spool:/var/spool/postfix |
|
|
|
|
|
- {{ conf_dir }}/sasl2:/etc/sasl2 |
|
|
networks: |
|
|
networks: |
|
|
default: |
|
|
default: |
|
|
name: build |
|
|
name: build |
|
|
|