Message of the day für Server

This commit is contained in:
baldo 2015-11-14 18:38:29 +01:00
parent ed703884ec
commit bc297acd18
4 changed files with 42 additions and 0 deletions

4
group_vars/srv.yml Normal file
View file

@ -0,0 +1,4 @@
---
system:
purpose: "various services"

View file

@ -1,6 +1,10 @@
--- ---
- name: run apt-get update - name: run apt-get update
apt: update_cache=yes apt: update_cache=yes
tags:
- common
- packages
- apt
- name: install common packages - name: install common packages
apt: name={{ item }} state=latest apt: name={{ item }} state=latest
@ -16,3 +20,18 @@
- vim - vim
- wget - wget
- zsh - 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

View 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 :)

View file

@ -3,6 +3,9 @@ srv02 ansible_ssh_host=srv02.hamburg.freifunk.net
[ffhh] [ffhh]
srv02 srv02
[srv]
srv02
[ntp] [ntp]
srv02 srv02