0 votes
in Ansible by
How can you use the Ansible module “user” to create a new user on a target machine?

a) By using the “name” parameter to specify the username and the “state” parameter to specify “present”

b) By using the “user” parameter to specify the username and the “state” parameter to specify “create”

c) By using the “username” parameter to specify the username and the “state” parameter to specify “new”

d) By using the “create_user” parameter to specify the username and the “state” parameter to specify “yes”

1 Answer

0 votes
by

Answer: a) By using the “name” parameter to specify the username and the “state” parameter to specify “present”

Explanation: The Ansible module “user” can be used to create a new user on a target machine by using the “name” parameter to specify the username and the “state” parameter to specify “present”.

...