ERROR! the role 'Stouts.postfix' was not found in /root/ansible-openwisp2-multitenancy/roles:/etc/ansible/roles:/etc/ansible/roles:/root/ansible-openwisp2-multitenancy
statically included: /etc/ansible/roles/Stouts.postfix/tasks/postfix.yml
statically included: /etc/ansible/roles/Stouts.postfix/tasks/install.deb.yml
statically included: /etc/ansible/roles/Stouts.postfix/tasks/install.yum.yml
statically included: /etc/ansible/roles/Stouts.postfix/tasks/sslcert.yml
statically included: /etc/ansible/roles/Stouts.postfix/tasks/opendkim.yml
and so on........ but:
<132.148.88.35> ESTABLISH SSH CONNECTION FOR USER: tabako
<132.148.88.35> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User=tabako -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r -tt 132.148.88.35 '/bin/sh -c '"'"'sudo -H -S -p "[sudo via ansible, key=ujhksjbzmcpfjigfmtnhccphpzttfszp] password: " -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ujhksjbzmcpfjigfmtnhccphpzttfszp; /usr/bin/python /home/tabako/.ansible/tmp/ansible-tmp-1489688327.45-137661628708938/command.py; rm -rf "/home/tabako/.ansible/tmp/ansible-tmp-1489688327.45-137661628708938/" > /dev/null 2>&1'"'"'"'"'"'"'"'"' && sleep 0'"'"''
fatal: [132.148.88.35]: FAILED! => {
"changed": true,
"cmd": [
"/usr/sbin/postmap",
"/etc/postfix/sasl_passwd"
],
"delta": "0:00:01.014767",
"end": "2017-03-16 11:18:52.227945",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "/usr/sbin/postmap /etc/postfix/sasl_passwd",
"_uses_shell": false,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"rc": 1,
"start": "2017-03-16 11:18:51.213178",
"stderr": "postmap: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol\npostmap: warning: valid_hostname: numeric hostname: 132.148.88.35\npostmap: fatal: file /etc/postfix/
main.cf: parameter myhostname: bad parameter value: 132.148.88.35",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
RUNNING HANDLER [Stouts.postfix : postfix restart] *****************************
to retry, use: --limit @/root/ansible-openwisp2-multitenancy/playbook.retry
PLAY RECAP *********************************************************************
132.148.88.35 : ok=5 changed=3 unreachable=0 failed=1
Another task broken by not supporting ipv6 on my distro:
Ubuntu 15.10 (GNU/Linux 4.2.0-042stab113.21 x86_64)
What i do now will be create a fresh VPS and enable ipv6 support and then reinstall all
Tell you when it's done.