From 7573638bbb5c128ecdbe16f7c092416541843f0f Mon Sep 17 00:00:00 2001 From: Jeffrey Serio <23226432+hyperreal64@users.noreply.github.com> Date: Thu, 1 Jun 2023 12:13:22 -0500 Subject: [PATCH] Remove user setup, already done by cloud-init --- roles/debian-mail/tasks/main.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/roles/debian-mail/tasks/main.yml b/roles/debian-mail/tasks/main.yml index 8e4fc69..189e7ad 100644 --- a/roles/debian-mail/tasks/main.yml +++ b/roles/debian-mail/tasks/main.yml @@ -67,17 +67,6 @@ ansible.builtin.apt: deb: /tmp/protonmail-bridge_3.2.0-1_amd64.deb -- name: Create user - ansible.builtin.user: - name: debian - shell: /bin/bash - -- name: Set sudo permissions for debian - ansible.builtin.lineinfile: - path: "/etc/sudoers.d/debian" - line: "debian ALL=(ALL) NOPASSWD: ALL" - create: true - - name: Copy systemd unit files for offlineimap ansible.builtin.copy: src: /usr/share/doc/offlineimap3/examples/systemd/offlineimap-oneshot.service