-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c16679a
commit c8aa64d
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
|
||
- name: Create deploy user | ||
user: name=deploy shell=/bin/bash home=/srv | ||
|
||
- name: Lock user deploy | ||
shell: usermod -L deploy | ||
|
||
- name: Create srv folder | ||
file: path=/srv owner=deploy state=directory | ||
|
||
- name: Set profile for deploy user | ||
copy: src=files/profile dest=/srv/.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PS1='\[\033[01;35m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' | ||
alias ls="ls --color=auto" |