upgrade.yml 1.55 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /usr/bin/env ansible-playbook

# Usage:
# ./fuss-server
#
# Copyright (C) 2016 Simone Piccardi <piccardi@truelite.it>,
#                    Elena Grandi <elena@truelite.it>,
#                    Progetto Fuss <info@fuss.bz.it>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program or from the site that you downloaded it
# from; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA  02111-1307   USA

---
- name: Configure a FUSS Server.
  hosts: all
  vars_files:
      - /etc/fuss-server/fuss-server.yaml
29
      - /etc/fuss-server/fuss-server-defaults.yaml
30
31
32
33
34
35
  roles:
      - common
      - bind
      - dhcp
      - web_proxy
      - firewall
Elena Grandi's avatar
Elena Grandi committed
36
      - kerberos
37
38
39
40
41
42
      - nfs
      - { role: client-conf, uri: "ldaps://{{host}}.{{domain}}" }
      - apache2
      - octofussd
      - octonet
      - misc
43
44
      # Not yet available for buster and not currently in use
      # - pxe-server
45
46
47
48
49
  tasks:
      - name: Save a timestamp of the current run in an ansible fact
        include: "{{ includes }}/save-timestamp.yml"
        with_items:
            - 'upgrade'