summaryrefslogtreecommitdiff
path: root/ansible/minipc-router.yml
blob: 936c9ce2dc2dbfc3eec5644806662243f17e2afe (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
40
41
42
43
44
45
46
# You need to update the parts marked FIXME in vars.

- hosts: router
  remote_user: ansible
  become: yes
  vars:

    # Hostname of the router.
    hostname: router

    # The Debian mirror to use.
    debian_mirror: http://ftp.fi.debian.org/debian

    # The Debian release to use.
    distro: jessie

    # Your wifi network name (SSID).
    ssid: FIXME

    # Your country code for wifi.
    country: FIXME

    # Your passphrase for wifi.
    wifi_passphrase: FIXME

    # Wireless device, check `iwconfig`
    interface: wlan0

    # Set if interface is a bridge, leave empty otherwise
    bridge: br0

    # IEEE 802.11 operation mode
    # Supported modes: a, b, g, ad
    wifi_mode: g

    # Enable 802.11n, if supported by chipset
    ieee80211n: 1

    # Wifi channel to use, check `iw list`
    wifi_channel: 2

  roles:
    - dhcp-client
    - sane-debian-system
    - router
    - hotspot