Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
354 B

---
- 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