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_accesspo...

35 lines
706 B
YAML
Raw Normal View History

2022-06-22 00:05:55 +00:00
---
- name: provision aps
hosts: accesspoints
gather_facts: no
tasks:
- name: provision /etc/config
2022-06-22 00:05:55 +00:00
template:
src: "{{ item }}"
dest: /etc/config/
with_fileglob:
- "templates/accesspoints/etc/config/*"
2022-06-22 00:05:55 +00:00
notify:
- "reload {{ item | basename }}"
2022-06-22 00:05:55 +00:00
handlers:
- name: reload network
service:
name: network
state: reloaded
when: skip_wifi is not defined
2022-07-01 22:21:23 +00:00
- name: reload wireless
command: wifi reconf
when: skip_wifi is not defined
- name: reload system
service:
name: system
state: reloaded
2023-01-08 04:58:50 +00:00
- name: reload lldpd
service:
name: lldpd
state: reloaded