Execution
Date 06 Jun 2024 11:44:46 +0100
Duration 00:00:33.25
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
1 Hosts
1 Tasks
1 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/zimbra/disable_tls_checks.yaml

---
- name: Playbook to disable tls check during migration
  hosts: all
  gather_facts: false
  tasks:
    - name: Disable TLS check
      ansible.builtin.shell: |
        set -o pipefail
        su -l zimbra -c "zmlocalconfig -e ldap_starttls_required=false"
        su -l zimbra -c "zmlocalconfig -e ldap_starttls_supported=0"
        su -l zimbra -c "zmcontrol restart"
      args:
        executable: /bin/bash
      changed_when: false