From 1ec4bbabcdb50d8406f6a0abb1c313365857bfd5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 9 Sep 2018 09:22:11 +0100 Subject: [PATCH] Create user --- dotfiles.yml | 3 +++ tasks/common.yml | 12 ++++++++++++ vars.yml | 0 3 files changed, 15 insertions(+) create mode 100644 tasks/common.yml create mode 100644 vars.yml diff --git a/dotfiles.yml b/dotfiles.yml index 8e721eb..491e35b 100644 --- a/dotfiles.yml +++ b/dotfiles.yml @@ -2,3 +2,6 @@ connection: local tasks: - ping: + - include_vars: + file: vars.yml + - import_tasks: tasks/common.yml diff --git a/tasks/common.yml b/tasks/common.yml new file mode 100644 index 0000000..fe74683 --- /dev/null +++ b/tasks/common.yml @@ -0,0 +1,12 @@ +- user: + name: jake + home: '/home/jake' + comment: Jake Howard + shell: '/usr/bin/zsh' + uid: 1000 + system: true + groups: + - input + - users + - video + - wheel diff --git a/vars.yml b/vars.yml new file mode 100644 index 0000000..e69de29