My virtual machine has a setting that when the first time a user logs in,
it creates a home directory for the user automatically if the user does not
have a home directory.
In my script, I want to achieve: Log in as different users so that they
all have home directory setup. But I'm not sure h
I have a virtual machine that when first login as a user, it will create
the home directory for the user if it doesn't have one.
So just sth like,
$ ssh username@myhostname
$ Creating directory '/home/username'.
How could I use Ansible to do that(just login in order to generate a home
director