Verified Commit affd232a authored by Luc Didry's avatar Luc Didry

Show PeerTube root password at the end of the installation

+ how to change it
parent dd53ccf8
Pipeline #131927 passed with stages
in 40 seconds
......@@ -219,3 +219,10 @@ apticron:
- pattern: EMAIL="root"
- repl: EMAIL="{{ settings.apticron.email }}"
{% endif %}
############################
## Show the root password ##
############################
show_root_password:
cmd.run:
- name: 'echo -e "##############################################\n## PeerTube root password: "$(grep "User password" /var/log/peertube/peertube.log | sed -e "s@.*User password: @@")" ##\n##############################################\nYou can change PeerTube root password with that command:\ncd /var/www/peertube/peertube-latest && NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run reset-password -- -u root"'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment