Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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/use-ansible-to-deploy-and-setup-instance-on-openstack-as-lamp-server/

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 !!