This repository has been archived on 2024-05-11. You can view files and clone it, but cannot push or open issues or pull requests.
eae-am-deutschen-platz/playbook_provision_aps.yml

28 lines
589 B
YAML

---
- name: provision aps
hosts: accesspoints
gather_facts: no
tasks:
- name: create clients bridge (vlan)
blockinfile:
path: /etc/config/network
block: |
config interface 'clients'
option type 'bridge'
option ifname 'eth0.2'
notify:
- reload network
- name: configure wireless
template:
src: templates/wireless.j2
dest: /etc/config/wireless
notify:
- reload network
handlers:
- name: reload network
service:
name: network
state: reloaded