automation install service with ansible
Hi everyone , I am trying to automatize the installation of lamp server on openstack instance using the it automation Ansible !! I am working with this instruction : https://fuga.cloud/academy/tutorials/...
But I get error when I try to run the playbook setup.yaml fatal: [lamp01]: FAILED! => {"changed": false, "failed": true, "rc": 255, "stderr": "", "stdout": "", "stdout_lines": []}
also error with roles/lamp.yaml : fatal: [lamp01]: UNREACHABLE! => {"changed": false, "msg": "ERROR! SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true} this is the file /etc/ansible/hosts [webservers] lamp01 ansible_ssh_private_key_file=/ansible/tenantA.pem
I am wondering how I can fix this errors !!
It seems that ssh is unable to connect to the server named lamp01.
yes I know that but when I try to ssh the lamp01 instance ssh ubuntu@192.168.1.x (floating ip) it work but with ansible always unreachable !! do you have any idea how i can fix it !!
Use -vvv to get a detailed error description. Expect a lot of output.
hi bernd I did solve this it was problem with version of ansible that I was using but thanks for your help