Initial commit

This commit is contained in:
2024-10-30 01:50:38 +01:00
commit 587ca23374
147 changed files with 7521 additions and 0 deletions

34
setupAllAPs.yml Normal file
View File

@@ -0,0 +1,34 @@
- hosts: accessPoints
ignore_unreachable: true
gather_facts: true
pre_tasks:
- name: update time
command:
cmd: ntpd -dnq -p pool.ntp.org
changed_when: false
roles:
- system
- network
- wireless
post_tasks:
- name: Install prometheus-node-exporter-lua
opkg:
name: prometheus-node-exporter-lua
state: present
- name: Configure prometheus-node-exporter-lua
uci:
command: section
config: prometheus-node-exporter-lua
type: prometheus-node-exporter-lua
name: main
value:
listen_interface: mgmnt
listen_port: 9100
autocommit: true
# - name: Reboot device
# ansible.builtin.command:
# cmd: "reboot"
# changed_when: false