https://github.com/a0s/ansible-role-hostapd
Ansible role for Hostapd
https://github.com/a0s/ansible-role-hostapd
ansible-role hostapd wpa2 yaml
Last synced: 8 months ago
JSON representation
Ansible role for Hostapd
- Host: GitHub
- URL: https://github.com/a0s/ansible-role-hostapd
- Owner: a0s
- License: mit
- Created: 2020-06-24T16:01:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T19:52:13.000Z (over 5 years ago)
- Last Synced: 2025-01-06T02:12:13.789Z (9 months ago)
- Topics: ansible-role, hostapd, wpa2, yaml
- Homepage: https://github.com/a0s/ansible-role-hostapd
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/a0s/ansible-role-hostapd)
[](https://galaxy.ansible.com/a0s/hostapd)hostapd
=======Install and setup hostapd.
Role Variables
--------------`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
Example Playbook
----------------```yaml
- 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
```Useful links
------------[Gentoo's page about hostapd](https://wiki.gentoo.org/wiki/Hostapd)
License
-------MIT