1055
This commit is contained in:
@@ -748,7 +748,7 @@
|
||||
shell: |
|
||||
sshpass -p '{{ dev1_pass }}' ssh {{ ssh_opts_common }} \
|
||||
"{{ dev1_user }}@{{ ansible_host|default(inventory_hostname) }}" \
|
||||
"grep -E '\"auto_ssid\":' /tmp/config.json 2>/dev/null | head -n1 | awk -F: '{print \$2}' | tr -d '[:space:],\"' || true"
|
||||
"grep -E '\"auto_ssid\":' /tmp/config.json 2>/dev/null | head -n1 | sed -nE 's/^[[:space:]]*\"auto_ssid\"[[:space:]]*:[[:space:]]*(true|false)[[:space:]]*,?[[:space:]]*$/\1/p' || true"
|
||||
register: auto_ssid_raw
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
Reference in New Issue
Block a user