Remove user setup, already done by cloud-init

This commit is contained in:
Jeffrey Serio 2023-06-01 12:13:22 -05:00
parent c9b0a5c013
commit 7573638bbb

View File

@ -67,17 +67,6 @@
ansible.builtin.apt: ansible.builtin.apt:
deb: /tmp/protonmail-bridge_3.2.0-1_amd64.deb 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 - name: Copy systemd unit files for offlineimap
ansible.builtin.copy: ansible.builtin.copy:
src: /usr/share/doc/offlineimap3/examples/systemd/offlineimap-oneshot.service src: /usr/share/doc/offlineimap3/examples/systemd/offlineimap-oneshot.service