3 ms·
In a previous version of ansible, the user module would error out if it couldn't delete the home directory, so this was added as pre-remove-user step to prevent
by heartsucker 10y ago
In a previous version of ansible, the user module would error out if it couldn't delete the home directory, so this was added as pre-remove-user step to prevent errors. In theory we could have pushed an empty authorized_keys, but it's so simple (if not erroneous) to say "If the user is gone, remove their home."