Tuesday, February 22, 2022

Troubleshoot - Ansible - Cannot Connect to other servers


 

On 23 Feb 2022, Pong experienced an issue with connecting his dbservers to webservers. This is under the Ansible topic.


So the remedy is:

vi /etc/ansible/hosts


[dbservers]

192.168.33.10 ansible_python_interpreter=/usr/bin/python3

[webservers]

192.168.33.11 ansible_python_interpreter=/usr/bin/python3

192.168.33.12 ansible_python_interpreter=/usr/bin/python3


No comments:

Post a Comment

Fluentd

Open-source log data collector > why logs? - for compliance (auditing, company, business) - for security (transparency, monitoring, admin...