Commit fb1acafb authored by Lars Beckers's avatar Lars Beckers
Browse files

radius-client: make waiting optional

parent e03cb8a4
---
radius_certs_dir: "{{ inventory_dir }}/files/radius-certs/"
radius_client_wait: true
#!/bin/bash
{% if radius_client_wait %}
journalctl -u wpa_supplicant-wired@{{ ansible_default_ipv4.interface }} -b | tail -n1 | grep CONNECTED
while [ $? == 1 ]; do
journalctl -u wpa_supplicant-wired@{{ ansible_default_ipv4.interface }} -b | tail -n1 | grep CONNECTED
done
{% endif %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment