forked from team/makeuser
Ok, finally fixed it for good
This commit is contained in:
parent
d65faae958
commit
578fc43d2a
4
makeuser
4
makeuser
|
@ -88,9 +88,9 @@ case $1 in
|
||||||
echo "- include: users/$YAML_FILE" >> $REPO_LOCATION/roles/shell/tasks/users.yml
|
echo "- include: users/$YAML_FILE" >> $REPO_LOCATION/roles/shell/tasks/users.yml
|
||||||
place=`pwd`
|
place=`pwd`
|
||||||
cd $REPO_LOCATION
|
cd $REPO_LOCATION
|
||||||
git add $REPO_LOCATION/roles/shell/tasks/users.yml
|
git add $REPO_LOCATION/roles/shell/tasks/users/$1.yml
|
||||||
git commit -am "Adding user $1"
|
git commit -am "Adding user $1"
|
||||||
# git push
|
git push
|
||||||
cd $place
|
cd $place
|
||||||
# End Thunix specific section
|
# End Thunix specific section
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue