diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-07-11 15:10:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-07-11 15:10:33 +0300 |
commit | e25a1fa2d59d50ab5630f159a15dbd053e69f6c9 (patch) | |
tree | 935a1a2f715bb49a90ffa99d9bc8df09caf8b406 /base-image | |
parent | 7d15742c6ba6d3a5f79d5b3466ebaeea28b2e23d (diff) | |
download | ansibleness-e25a1fa2d59d50ab5630f159a15dbd053e69f6c9.tar.gz |
fix: install sudo on base image, allow debian user to use sudo
Sponsored-by: author
Diffstat (limited to 'base-image')
-rw-r--r-- | base-image/base-image.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base-image/base-image.yml b/base-image/base-image.yml index 3a14b62..84d938f 100644 --- a/base-image/base-image.yml +++ b/base-image/base-image.yml @@ -10,7 +10,15 @@ - cloud-init - openssh-server - locales-all + - sudo install_recommends: no + - copy: + content: | + debian ALL=(ALL:ALL) NOPASSWD: ALL + dest: /etc/sudoers.d/debian + owner: root + group: root + mode: 0600 - shell: | apt clean vars: |