Skip to content
Snippets Groups Projects
Commit fb1acafb authored by Lars Beckers's avatar Lars Beckers
Browse files

radius-client: make waiting optional

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