Add an Ansible user, too
This commit is contained in:
parent
7fd0428d78
commit
0dd50892c3
@ -305,6 +305,10 @@ build-gentoo-chroot() {
|
||||
passwd salt
|
||||
fi
|
||||
|
||||
# Configure Ansible user, his sudo rights are specifically in sudoers
|
||||
if ! id ansible > /dev/null 2>&1; then
|
||||
useradd ansible -m -s /bin/bash -u 1001 -U
|
||||
fi
|
||||
# Configure services
|
||||
systemctl enable NetworkManager sshd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user