---

- name: Create mailman user account
  user: name={{ mailman_user }} home={{ mailman_root_dir }} system=True shell=/bin/bash
  tags: mailman

- name: Setup the venv for mailman user
  copy: content="source {{ mailman_root_dir }}/venv/bin/activate" dest={{ mailman_root_dir }}/.bashrc owner={{ mailman_user }} group={{ mailman_user }}
  tags: mailman
