We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26a2b6f commit 8ddf10dCopy full SHA for 8ddf10d
src/roles/configuration_checks/tasks/disks.yml
@@ -137,13 +137,11 @@
137
{% for ip in nfs_ip_addresses %}
138
response=$(curl -s --connect-timeout 5 --max-time 10 http://{{ ip }}/ 2>&1 || true)
139
if echo "$response" | grep -q "windows.net"; then
140
- # This is AFS - extract storage account name from the response
141
storage_account=$(echo "$response" | grep -oP '[a-z0-9]+\.file\.core\.windows\.net' | head -1 | cut -d'.' -f1)
142
if [ -n "$storage_account" ]; then
143
echo "AFS:{{ ip }}:$storage_account"
144
fi
145
else
146
- # This is ANF
147
echo "ANF:{{ ip }}"
148
149
{% endfor %}
0 commit comments