$ ejabberdctl convert_to_yaml /etc/ejabberd/ejabberd.cfg /tmp/ejabberd.yml
Problem 'error function_clause' occurred executing the command.
Stacktrace: [{p1_yaml,encode_pair,
[inet6,4],
[{file,"src/p1_yaml.erl"},{line,135}]},
{p1_yaml,'-encode/2-lc$^0/1-1-',2,
[{file,"src/p1_yaml.erl"},{line,116}]},
{p1_yaml,'-encode/2-lc$^0/1-1-',2,
[{file,"src/p1_yaml.erl"},{line,116}]},
{p1_yaml,'-encode/2-lc$^1/1-0-',2,
[{file,"src/p1_yaml.erl"},{line,118}]},
{p1_yaml,encode_pair,2,[{file,"src/p1_yaml.erl"},{line,136}]},
{p1_yaml,'-encode/2-lc$^0/1-1-',2,
[{file,"src/p1_yaml.erl"},{line,116}]},
{p1_yaml,'-encode/2-lc$^0/1-1-',2,
[{file,"src/p1_yaml.erl"},{line,116}]},
{p1_yaml,encode,1,[{file,"src/p1_yaml.erl"},{line,108}]}]