Commit e6c10097 authored by Chris Croome's avatar Chris Croome

don't listen for ipv6

parent 9bbe877b
......@@ -71,8 +71,9 @@
- name: xmpp-cloud-auth installed
apt:
name: xcauth
state: latest
pkg:
- xcauth
state: present
update_cache: yes
- name: saslauthd ExecStartPre line commented in /etc/systemd/system/xcauth.service
......@@ -89,9 +90,16 @@
line: "#ExecStartPost=/bin/chgrp sasl /var/run/saslauthd/"
register: xcauth_service_execstartpost
- name: ipv6 line commented in /etc/systemd/system/xcprosody.socket
lineinfile:
path: /etc/systemd/system/xcprosody.socket
regexp: "^#?ListenStream=\\[::1\\]:23663"
line: "#ListenStream=[::1]:23663"
register: xcauth_socket_ipv6
- name: systemctl daemon-reload when /etc/systemd/system/xcauth.service changed
command: systemctl daemon-reload
when: xcauth_service_execstartpre.changed or xcauth_service_execstartpost.changed
when: xcauth_service_execstartpre.changed or xcauth_service_execstartpost.changed or xcauth_socket_ipv6.changed
- name: symlink xcauth prosody mod_auth_external.lua module
file:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment