Ansible Lab Setup on Docker Container | Docker

preview_player
Показать описание
Here in this video you will create Ansible LAB on docker container in 15 Minutes,Please clone and follow the steps given in below link

Рекомендации по теме
Комментарии
Автор

Hi Kartik, can you help me please? I having issue on the docker-compose up -d and print its: docker-credential-gcloud not installed or not available in PATH

josejo
Автор

Are you running docker in virtual box because I noticed your host os is windows?

asingh
Автор

Hi Kartik, Can you please spare few minutes of your time, I am having issue on the ping step of "Ansible playbooks", specifically, running "ansible-playbook -i inventory ping_all.yml".
getting error:
fatal: [host01]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could
not resolve hostname host01: Name or service not known\r\n", "unreachable": true}
fatal: [host02]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could
not resolve hostname host02: Name or service not known\r\n", "unreachable": true}
fatal: [host01]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could
not resolve hostname host01: Name or service not known\r\n", "unreachable": true}
to retry, use: --limit @/var/ans/ping_all.retry


How to fix this issue, I have been stuck for days and no success setting up lab environment. Do i need to update the /etc/hosts file? Please suggest.


Thanks in advance

nbhusal