fix sudo password problem with inventory
Signed-off-by: Marc Ahlgrim <marc@onemarcfifty.com>
This commit is contained in:
parent
8cb55aa67d
commit
0b3dca86f6
@ -21,6 +21,11 @@ apt install -y python3 pip sudo wget curl git nmap
|
|||||||
useradd -m -G sudo -s /bin/bash rundeck
|
useradd -m -G sudo -s /bin/bash rundeck
|
||||||
echo "rundeck:$USERPASSWORD" | chpasswd
|
echo "rundeck:$USERPASSWORD" | chpasswd
|
||||||
|
|
||||||
|
# Quick fix: allow sudo to the rundeck user without password
|
||||||
|
# (needs review)
|
||||||
|
|
||||||
|
echo "rundeck ALL=(ALL) NOPASSWD: ALL" >/etc/sudoers.d/rundeck
|
||||||
|
|
||||||
# install ansible through pip
|
# install ansible through pip
|
||||||
|
|
||||||
pip install ansible
|
pip install ansible
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user