Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sowoi/ansible-unifi-wifi-key-changer
This role changes the WLAN key of a given SSID on the Unifi controller remotely.
https://github.com/sowoi/ansible-unifi-wifi-key-changer
ansible ansible-role unifi wifi
Last synced: about 2 months ago
JSON representation
This role changes the WLAN key of a given SSID on the Unifi controller remotely.
- Host: GitHub
- URL: https://github.com/sowoi/ansible-unifi-wifi-key-changer
- Owner: sowoi
- License: gpl-3.0
- Created: 2022-11-23T10:35:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-29T10:29:31.000Z (about 2 years ago)
- Last Synced: 2023-03-11T09:17:30.197Z (almost 2 years ago)
- Topics: ansible, ansible-role, unifi, wifi
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-unifi-wifi-key-changer
This role changes the WLAN key of a given SSID on the Unifi controller remotely.
You can enter your own key or have a randomized one created.
The change will be announced via e-mail.# Setup
Change wifikeyset to True if you want to be prompted to enter a key.
Alternatively you can write a wifi key without prompt in wifi_key (remove the lookup entry for this).# Parameters
unifiuser:
unifipassword:
wifissid:
wifikeyset: False
wifi_key: "{{ lookup('password', '/dev/null length=12 chars=ascii_letters') }}"
mailHost:
mailSMTPPort:
mailUsername:
mailPassword:
mailSendTo:# Dependencies
None# Example Playbook
```
- hosts: servers
roles:
- sowoi.ansible_unifi_wifi_key_changer
```# License
Licensed under the terms of GNU General Public License v3.0. See LICENSE file.# Author Information
https://okxo.de