Skip to content

Commit

Permalink
chore: Update GitLab deployment script to generate a stronger random …
Browse files Browse the repository at this point in the history
…password for the PostgreSQL database
  • Loading branch information
tosin2013 committed Aug 20, 2024
1 parent 2fe548d commit 6ea2ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependancies/gitlab/deployment-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ then
cp -r podman-gitlab-server-role /etc/ansible/roles/
fi
GILAB_SERVICE_ACCOUNT=gitlab
POSTGRES_PASSWORD=$(cat /dev/urandom | tr -dc '[:graph:]' | fold -w 11 | head -n 1)
POSTGRES_PASSWORD=$(cat /dev/urandom | tr -dc 'A-Za-z0-9@%+=-_' | fold -w 11 | head -n 1)
cat > /etc/ansible/roles/podman-gitlab-server-role/defaults/main.yml <<EOF
---
# Username Variables
Expand Down

0 comments on commit 6ea2ebf

Please sign in to comment.