summaryrefslogtreecommitdiff
path: root/base-image/base-image.yml
diff options
context:
space:
mode:
Diffstat (limited to 'base-image/base-image.yml')
-rw-r--r--base-image/base-image.yml8
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: