add ansible to wheel group, necessary for using "su"

This commit is contained in:
oddlama 2020-01-17 18:15:12 +01:00
parent 675d61b012
commit 95977f18c1
No known key found for this signature in database
GPG Key ID: 88EA325D51D53908
1 changed files with 3 additions and 3 deletions

View File

@ -137,9 +137,9 @@ install_ansible() {
chown -R ansible: "$ANSIBLE_HOME" \
|| die "Could not change ownership of ansible home"
einfo "Adding ansible to sshusers"
usermod -a -G sshusers ansible \
|| die "Could not add ansible to sshusers group"
einfo "Adding ansible to some auxiliary groups"
usermod -a -G wheel,sshusers ansible \
|| die "Could not add ansible to auxiliary groups"
}
main_install_gentoo_in_chroot() {