libravatar: drop "-" from command at postfix conf and the double quotes

This commit is contained in:
clime 2019-02-05 17:34:31 +01:00
parent 7587faded2
commit d3bc4400d0

View file

@ -4,26 +4,26 @@
- name: install prerequisities - name: install prerequisities
package: state=present pkg={{ item }} package: state=present pkg={{ item }}
with_items: with_items:
- "postgresql-server" - postgresql-server
- "postgresql-contrib" - postgresql-contrib
- "python3-psycopg2" - python3-psycopg2
- "libselinux-python" - libselinux-python
- "libsemanage-python" - libsemanage-python
- "python3-virtualenv" - python3-virtualenv
- "community-mysql-devel" - community-mysql-devel
- "openldap-devel" - openldap-devel
- "python3-pip" - python3-pip
- "gcc" - gcc
- "git" - git
- "httpd" - httpd
- "python3-mod_wsgi" - python3-mod_wsgi
- "policycoreutils-python" - policycoreutils-python
- "postfix" - postfix
- "mod_ssl" - mod_ssl
- "letsencrypt" - letsencrypt
- name: configure postfix for email encryption - name: configure postfix for email encryption
- command: "{{ item }}" command: "{{ item }}"
with_items: with_items:
- postconf -e 'smtpd_tls_cert_file = /etc/letsencrypt/live/{{ inventory_hostname }}/fullchain.pem' - postconf -e 'smtpd_tls_cert_file = /etc/letsencrypt/live/{{ inventory_hostname }}/fullchain.pem'
- postconf -e 'smtpd_tls_key_file = /etc/letsencrypt/live/{{ inventory_hostname }}/privkey.pem' - postconf -e 'smtpd_tls_key_file = /etc/letsencrypt/live/{{ inventory_hostname }}/privkey.pem'