Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to login Ubuntu-C guest #28

Closed
hghisaidoobe opened this issue May 8, 2021 · 3 comments
Closed

Unable to login Ubuntu-C guest #28

hghisaidoobe opened this issue May 8, 2021 · 3 comments

Comments

@hghisaidoobe
Copy link

hghisaidoobe commented May 8, 2021

Password not working Ubuntu

Hi, I'm running on Ubuntu (20.4.2.0) as my host and all goes well until I must login into the ubuntu-c Ansible guest. No matter what password I use (I even changed the guest_pwd file to use a different password), none seem to work. Only get login incorrect message all the time. How can I solve this?

My .env file:

# Shared config volume
CONFIG=/users/hghisaidoobe/diveintoansible-lab/config

# Shared home directories
ANSIBLE_HOME=/users/hghisaidoobe/diveintoansible-lab/ansible_home

ansible_home does not get created after pull from git, have to create it manually (not running on Windows, so no mount here). I'm stuck here...

Ansible path settings

@spurin
Copy link
Owner

spurin commented May 8, 2021

Hi,

As your OS is Ubuntu, your Home directory should be /home instead of /users

Could you do a pwd from the diveintoansible-lab folder and update the config accordingly.

Then when you start the lab, it should read the correct config files and configure the user for you 👍

@hghisaidoobe
Copy link
Author

That did the trick, totally forgot about that (being both a Windows and Linux user). Sometimes details do matter :-)

@spurin
Copy link
Owner

spurin commented May 8, 2021

Awesome @hghisaidoobe

Glad it's resolved and hope you enjoy the course 😁😁

@spurin spurin closed this as completed Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants