Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dist: Support SmartOS #60

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Create server user group
  • Loading branch information
geek committed Mar 1, 2015
commit 772d2735da153c6d27782e97f446b11e4ef2ee2c
6 changes: 5 additions & 1 deletion setup/smartos/ansible-playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
with_items: packages
tags: general

- name: User | Add {{ server_user }} group
command: groupadd {{ server_user }}
tags: user

- name: User | Add {{ server_user }} user
user: name="{{ server_user }}" shell=/bin/bash append=yes groups=staff
user: name="{{ server_user }}" shell=/bin/bash append=yes groups=staff,{{ server_user }}
tags: user

- name: User | Unlock {{ server_user }} user
Expand Down