chiark / gitweb /
Install Debian packages and mail configuration.
[distorted-ansible] / hosts / hosts.lisp
1 ;;; -*-lisp-*-
2
3 ;;;--------------------------------------------------------------------------
4 ;;; House network.
5
6 ;; ibanez and guests.
7
8 (defhost ibanez
9   :hypervisor :kvm
10   :os :debian
11   :location house
12   :server #(:multihome :ntp))
13
14 (defhost radius
15   :vm-host ibanez
16   :os :debian
17   :server #(:router :dns :syslog :vpn))
18
19 (defhost roadstar
20   :vm-host ibanez
21   :os :debian
22   :server #(:multihome :dns :ftp :http :nfs :www-cache :rsync :munin))
23
24 (defhost jem
25   :vm-host ibanez
26   :os :debian
27   :mail-mode :usersat
28   :mail-daemon :heavy
29   :print-client t
30   :server #(:multihome :login :rsync :http :nfs :mail))
31
32 (defhost artist
33   :vm-host ibanez
34   :os :debian
35   :mail-mode :usersat
36   :server #(:router :login :http :rsync :mail))
37
38 ;; Other servers.
39
40 (defhost vampire
41   :os :debian
42   :location house
43   :mail-mode :usersat
44   :server #(:router :ntp :vpn :nfs :print))
45
46 (defhost groove
47   :os :debian
48   :location house
49   :server #(:http))
50
51 ;; Clients.
52
53 (defhost gibson
54   :os :debian
55   :location house
56   :mail-daemon :heavy
57   :client t)
58
59 (defhost crybaby
60   :os :debian
61   :location :mobile
62   :mail-daemon :heavy
63   :client t)
64
65 (defhost haze
66   :os :sailfish
67   :location :mobile
68   :client t)
69
70 ;;;--------------------------------------------------------------------------
71 ;;; Colocated servers.
72
73 ;; fender and guests.
74
75 (defhost fender
76   :hypervisor :kvm
77   :os :debian
78   :location jump
79   :server #(:multihome :ntp))
80
81 (defhost precision
82   :vm-host fender
83   :os :debian
84   :server #(:router :dns :vpn))
85
86 (defhost telecaster
87   :vm-host fender
88   :os :debian
89   :mail-mode :srv
90   :mail-daemon :heavy
91   :server #(:multihome :dns :ftp :http :rsync :munin :nfs :mail))
92
93 (defhost stratocaster
94   :vm-host fender
95   :os :debian
96   :mail-mode :hub
97   :mail-daemon :heavy
98   :server #(:multihome :login :rsync :http :nfs :mail))
99
100 (defhost jazz
101   :vm-host fender
102   :os :debian
103   :mail-mode :usersat
104   :server #(:multihome :login :http :mail :vpn))
105
106 ;;;----- That's all, folks --------------------------------------------------