summaryrefslogtreecommitdiff
path: root/ansible/minipc-router.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/minipc-router.yml')
-rw-r--r--ansible/minipc-router.yml36
1 files changed, 35 insertions, 1 deletions
diff --git a/ansible/minipc-router.yml b/ansible/minipc-router.yml
index e99f49a..936c9ce 100644
--- a/ansible/minipc-router.yml
+++ b/ansible/minipc-router.yml
@@ -1,10 +1,44 @@
+# You need to update the parts marked FIXME in vars.
+
- hosts: router
remote_user: ansible
become: yes
vars:
- debian_mirror: http://ftp.fi.debian.org/debian
+
+ # 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