Install and setup hostapd.
hostapd_conf
(default:[]): list of lines to put in /etc/hostapd.conf
hostapd_default
(default: "/etc/default/hostapd"): path to default config
hostapd_default_daemon_conf
(default: "/etc/hostapd.conf"): path to daemon's config
hostapd_default_daemon_opts
(default: ""): daemon's options
- hosts: servers
roles:
- a0s.hostapd
vars:
hostapd_conf:
- |
interface=wlan0
hw_mode=g
channel=10
ieee80211d=1
country_code=EU
ieee80211n=1
wmm_enabled=1
ssid=somename
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=somepassword
MIT