You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems related to an umask issue. The user I was using in my deploy had umask 0022, and it makes to fail the tasks.
Changing the ansible_ssh_user umask to 0002 fixes the issue. (Was changed in $HOME/.bashrc)
CentOS set the masks for the user in /etc/profile file, this section:
# By default, we want umask to get set. This sets it for login shell
# Current threshold for system reserved uid/gids is 200
# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
umask 002
else
umask 022
fi
That's the reason this user had umask 022.
I have checked other Atom2.6 deployments on CentOS and it worked because they were using umask 002 for ansible_ssh_user, so it seems we don't need to change the role.
I had some issues when cloning repositories and compiling themes on CentOS:
The text was updated successfully, but these errors were encountered: