20 lines
435 B
YAML
20 lines
435 B
YAML
# SPDX-License-Identifier: BSD-3-Clause
|
|
---
|
|
- name: Remove test interfaces
|
|
shell: |
|
|
ip netns delete ns1
|
|
ip link delete veth1-br
|
|
ip link delete veth2-br
|
|
ip link delete br1
|
|
|
|
- name: Kill hostapd process
|
|
shell: pkill hostapd
|
|
- name: Remove certs and config
|
|
file:
|
|
state: absent
|
|
path: "{{ item }}"
|
|
with_items:
|
|
- /etc/pki/tls/hostapd_test
|
|
- /etc/hostapd/wired.conf
|
|
- /etc/hostapd/hostapd.eap_user
|