allow self-signed certs on mail server
This commit is contained in:
parent
1378d4d677
commit
188f7f87ac
@ -88,3 +88,21 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
roundcube_volume: "{{ lookup('vars','roundcube_volume') }}"
|
roundcube_volume: "{{ lookup('vars','roundcube_volume') }}"
|
||||||
roundcube_volume_mountpoint: "{{ volinfo.volume.Mountpoint }}"
|
roundcube_volume_mountpoint: "{{ volinfo.volume.Mountpoint }}"
|
||||||
|
|
||||||
|
- name: allow self-signed mail server certs
|
||||||
|
blockinfile:
|
||||||
|
state: present
|
||||||
|
path: "{{ roundcube_volume_mountpoint }}/config/config.inc.php"
|
||||||
|
block: |
|
||||||
|
$config['imap_conn_options'] = array(
|
||||||
|
'ssl' => array(
|
||||||
|
'verify_peer' => false,
|
||||||
|
'verify_peer_name' => false,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
$config['smtp_conn_options'] = array(
|
||||||
|
'ssl' => array(
|
||||||
|
'verify_peer' => false,
|
||||||
|
'verify_peer_name' => false,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user