Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
b3de7489
Verified
Commit
b3de7489
authored
Oct 20, 2017
by
Florian Pritz
Browse files
sshd: Add motd
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
a9100c3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
hosts
View file @
b3de7489
...
...
@@ -27,3 +27,7 @@ sgp.pkgbuild.com
orion.archlinux.org
apollo.archlinux.org
soyuz.archlinux.org
[buildservers]
soyuz.archlinux.org
sgp.pkgbuild.com
roles/sshd/tasks/main.yml
View file @
b3de7489
...
...
@@ -11,5 +11,8 @@
-
name
:
set file permissions
file
:
path=/etc/ssh mode=0600
-
name
:
install motd
template
:
src=motd.j2 dest=/etc/motd owner=root group=root mode=0644
-
name
:
start and enable sshd
service
:
name=sshd enabled=yes state=started
roles/sshd/templates/motd.j2
0 → 100644
View file @
b3de7489
Welcome to {{inventory_hostname}}.
Please note that this system is configured automatically and local configuration
changes may be lost.
{% if 'borg-clients' in group_names %}
Data on this system is regularly backed up automatically.
{% else %}
[1;31mThis system IS NOT backed up[0m. Please ensure you DO NOT keep valuable data here!
{% endif %}
{% if 'buildservers' in group_names %}
[1;32mUsage Info[0m
- Use the [1mdevtools[0m helpers to build packages.
- Don't forget to set your [1mPACKAGER[0m in [1;34m~/.makepkg.conf[0m.
- [1mChroots[0m are kept in [1;34m/var/lib/archbuild[0m (~chroots).
- [1mSRCDEST[0m is set to [1;34m/var/lib/archbuilddest/srcdest[0m (~srcdest).
- Take a look at [1mmkpkg -hh[0m if you want to build nightlies.
Package diff tools:
[1mdiffrepo[0m : Lightweight alternative to checkpkg. Only diffs filenames.
[1mpkgdiffrepo[0m : Heavyweight alternative to checkpkg. Uses pkgdiff.
[1;32mSeptember 25, 2016[0m
Pkgbuild.com was moved to a [1mnew server[0m (again)! This one uses spinning rust
so we have plenty of space. Chroots are on a tmpfs to keep things fast.
[1;32mOctober 11, 2016[0m
Added [1mgitpkg[0m, an experimental script written to maintain GNOME git packages.
May also fit other packages.
{% endif %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment