Create user

This commit is contained in:
Jake Howard 2018-09-09 09:22:11 +01:00
parent 33c9fe13a7
commit 1ec4bbabcd
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 15 additions and 0 deletions

View file

@ -2,3 +2,6 @@
connection: local
tasks:
- ping:
- include_vars:
file: vars.yml
- import_tasks: tasks/common.yml

12
tasks/common.yml Normal file
View file

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

0
vars.yml Normal file
View file