Split this one out into 2 tasks
This commit is contained in:
parent
9bd6f9cfc1
commit
1c7a44fe44
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
---
|
||||
- name: ensure the user exists
|
||||
- name: ensure the drbackup group exists
|
||||
group: name=drbackup state=present
|
||||
|
||||
- name: ensure the drbackup user exists
|
||||
user: name=drbackup comment="DR Backup User" group=drbackup shell=/bin/bash home=/var/lib/drbackup
|
||||
file: dest=/var/lib/drbackup/ state=directory owner=drbackup group=drbackup mode=0700
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue