aboutsummaryrefslogtreecommitdiffstats
path: root/setup.yml
blob: 5b473444771e8b4e827ba69a4db620a7700e0812 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
# This playbook contains example tasks to perform on a fresh Alpine Linux 
# installation. 
#
# Copyright (c) 2013-2019 Fabian Affolter <fabian@affolter-engineering.ch>
#
# All rights reserved. Licensed under CC BY 3.0
#
# Usage: ansible-playbook setup.yml -f 10

---
- hosts: all
  user: root
  vars_files:
    - variables/application-versions.yml
    - variables/sensitive.yml

  tasks:
    - include: tasks/apk-repositories.yml
    - include: tasks/motd.yml

# Server tasks
#    - include: tasks/lighttpd.yml
#    - include: tasks/dovecot.yml
#    - include: tasks/collectd.yml
#    - include: tasks/dnsmasq.yml
#    - include: tasks/mysql.yml

# Web application tasks
#    - include: tasks/linfo.yml
#    - include: tasks/bootstrap.yml
#    - include: tasks/phpsysinfo.yml
#    - include: tasks/mutillidae.yml
#    - include: tasks/php-shell-detector.yml
#    - include: tasks/dvwa.yml
#    - include: tasks/phpmyadmin.yml
#

  handlers:
   - include: handlers/system.yml