Create user
This commit is contained in:
parent
33c9fe13a7
commit
1ec4bbabcd
3 changed files with 15 additions and 0 deletions
|
@ -2,3 +2,6 @@
|
||||||
connection: local
|
connection: local
|
||||||
tasks:
|
tasks:
|
||||||
- ping:
|
- ping:
|
||||||
|
- include_vars:
|
||||||
|
file: vars.yml
|
||||||
|
- import_tasks: tasks/common.yml
|
||||||
|
|
12
tasks/common.yml
Normal file
12
tasks/common.yml
Normal 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
0
vars.yml
Normal file
Loading…
Reference in a new issue