- Replace block with individual looped tasks (Ansible doesn't support block+loop) - Task 2: Read local files (looped) - Task 3: Read server files (looped) - Task 4: Compare using loop_index0 to correlate results - Task 5+: Process and output drift results - Maintains all functionality: JSON output, detailed drift reporting - No more loop_index0 undefined errors