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.
2022-06-22 00:05:55 +00:00
|
|
|
---
|
|
|
|
- name: provision aps
|
|
|
|
hosts: accesspoints
|
|
|
|
gather_facts: no
|
|
|
|
tasks:
|
2022-09-25 22:58:13 +00:00
|
|
|
- name: provision /etc/config
|
2022-06-22 00:05:55 +00:00
|
|
|
template:
|
2022-09-25 22:58:13 +00:00
|
|
|
src: "{{ item }}"
|
|
|
|
dest: /etc/config/
|
|
|
|
with_fileglob:
|
|
|
|
- "templates/accesspoints/etc/config/*"
|
2022-06-22 00:05:55 +00:00
|
|
|
notify:
|
2022-09-25 22:58:13 +00:00
|
|
|
- "reload {{ item | basename }}"
|
2022-06-22 00:05:55 +00:00
|
|
|
|
|
|
|
handlers:
|
|
|
|
- name: reload network
|
|
|
|
service:
|
|
|
|
name: network
|
|
|
|
state: reloaded
|
2022-07-01 22:21:23 +00:00
|
|
|
|
2022-09-25 22:58:13 +00:00
|
|
|
- name: reload wireless
|
2022-07-02 22:41:01 +00:00
|
|
|
command: wifi reconf
|
|
|
|
|
2022-09-25 22:58:13 +00:00
|
|
|
- name: reload system
|
|
|
|
service:
|
|
|
|
name: system
|
|
|
|
state: reloaded
|