Opened 23 months ago

Last modified 22 months ago

#3279 new task

get rid of getent in ansible playbooks

Reported by: sa2ajj Owned by:
Priority: major Milestone: sys - other
Version: Keywords: ansible


We currently use getent module to get information about home directory of the remote user.

skelly notes that it's possible to use ~user instead.

Test the functionality and get rid of getent.

Change History (2)

comment:1 Changed 23 months ago by skelly

~user appears to work in some cases. The expanduser filter will expand it always. Simple testing has something working so going to try replacing each getent use and test to make sure it keeps working.

comment:2 Changed 22 months ago by dustin

  • Milestone changed from sys - on-bb-infra to sys - other
Note: See TracTickets for help on using tickets.