mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-01-24 13:40:17 +00:00
Fix quotes for variable syntax
This commit is contained in:
2
rmuser
2
rmuser
@@ -24,7 +24,7 @@ remove_user()
|
|||||||
echo "$1 user account is unenforced in ansible..."
|
echo "$1 user account is unenforced in ansible..."
|
||||||
currdir=`pwd`
|
currdir=`pwd`
|
||||||
cd $REPO_LOCATION; git pull
|
cd $REPO_LOCATION; git pull
|
||||||
sed -i '/$1/d' $REPO_LOCATION/roles/shell/tasks/users.yml
|
sed -i "/$1/d" $REPO_LOCATION/roles/shell/tasks/users.yml
|
||||||
rm $REPO_LOCATION/roles/shell/tasks/users/$YAML_FILE
|
rm $REPO_LOCATION/roles/shell/tasks/users/$YAML_FILE
|
||||||
git commit -am "$1 account unenforced in ansible"
|
git commit -am "$1 account unenforced in ansible"
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user