Message of the day für Server
This commit is contained in:
parent
ed703884ec
commit
bc297acd18
4
group_vars/srv.yml
Normal file
4
group_vars/srv.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
|
||||
system:
|
||||
purpose: "various services"
|
|
@ -1,6 +1,10 @@
|
|||
---
|
||||
- name: run apt-get update
|
||||
apt: update_cache=yes
|
||||
tags:
|
||||
- common
|
||||
- packages
|
||||
- apt
|
||||
|
||||
- name: install common packages
|
||||
apt: name={{ item }} state=latest
|
||||
|
@ -16,3 +20,18 @@
|
|||
- vim
|
||||
- wget
|
||||
- zsh
|
||||
tags:
|
||||
- common
|
||||
- packages
|
||||
- apt
|
||||
|
||||
- name: set message of the day
|
||||
template: >
|
||||
src=etc/motd.j2
|
||||
dest=/etc/motd
|
||||
mode=0444
|
||||
owner=root
|
||||
group=root
|
||||
tags:
|
||||
- common
|
||||
- motd
|
||||
|
|
16
roles/common/templates/etc/motd.j2
Normal file
16
roles/common/templates/etc/motd.j2
Normal file
|
@ -0,0 +1,16 @@
|
|||
==== THIS IS A SYSTEM FOR {{ system.purpose | upper }} =====
|
||||
|
||||
FREIFUNK HAMBURG is a non commercial open initiative
|
||||
to establish a free radio network (WLAN) in the city
|
||||
of Hamburg. It is part of the international movement
|
||||
for free and wireless radio networks.
|
||||
|
||||
DO NOT install anything additional here
|
||||
DO NOT reboot if not necessary
|
||||
DO NOT work on here
|
||||
|
||||
ENSURE reboot persistency of your configuration
|
||||
ENSURE safety of your configuration
|
||||
ENSURE stability of your configuration (no experiments)
|
||||
|
||||
--> THANKS :)
|
|
@ -3,6 +3,9 @@ srv02 ansible_ssh_host=srv02.hamburg.freifunk.net
|
|||
[ffhh]
|
||||
srv02
|
||||
|
||||
[srv]
|
||||
srv02
|
||||
|
||||
[ntp]
|
||||
srv02
|
||||
|
||||
|
|
Loading…
Reference in a new issue