From 1c7a44fe4499970a5bb859d3fb83589536a3006e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 26 Aug 2014 19:12:53 +0000 Subject: [PATCH] Split this one out into 2 tasks --- tasks/drbackupkey.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/drbackupkey.yml b/tasks/drbackupkey.yml index 166230c580..fdc1c0f86c 100644 --- a/tasks/drbackupkey.yml +++ b/tasks/drbackupkey.yml @@ -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