Compare commits
1 Commits
c5634d132f
...
4406d98a4c
Author | SHA1 | Date |
---|---|---|
Frédéric Péters | 4406d98a4c |
|
@ -14,8 +14,7 @@ elif [ $1 = 'run-tests' ]
|
|||
then
|
||||
apt update
|
||||
apt full-upgrade -y
|
||||
if grep -q 12 /etc/debian_version; then ANSIBLE_PACKAGE=ansible; else ANSIBLE_PACKAGE=ansible-core; fi
|
||||
apt install -y wget ca-certificates gnupg2 git $ANSIBLE_PACKAGE postgresql sudo python3
|
||||
apt install -y wget ca-certificates gnupg2 git ansible postgresql sudo python3
|
||||
id testuser || adduser --disabled-password --gecos "" testuser
|
||||
usermod -a -G sudo testuser
|
||||
grep -q testuser /etc/sudoers || echo 'testuser ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||
|
|
Loading…
Reference in New Issue