Nnamdi Felix Ibe compares an Ansible file task with an Azure networking exercise in Day 85: A Task That Always Changes and Two Halves. In both exercises, a status field answered a narrower question than the one he was trying to settle. The filesystem check showed whether the file was new. A test between virtual machines showed when the network path began carrying traffic.
An Ansible change can be a timestamp
Ibe checked that the target file was absent before running the playbook, then confirmed it existed and was empty. The recap reported a change. On a repeat run, the same result could come from updating timestamps on the existing file. That follows from the file module's defaults for the touch state, which set access and modification times to the current time.
When the desired state is simply that the file exists, the module supports preserving both timestamps. That allows the first run to create the file and subsequent runs to leave its existing timestamps alone. A playbook reviewer can check for two distinct results: an absent file becomes present on the first run, and a second run against the same file reports no change for that task when there are no other attributes to fix. Ansible file module documentation
An Azure peering needs evidence from both ends
Ibe initially created a peering link on one virtual network. Azure showed it as Initiated, and the ping received no responses. He created the reverse link, observed both sides become Connected, and received replies from the same destination. The before and after checks made the missing half visible in both the configuration and the observed behavior.
Microsoft's troubleshooting guide adds a useful next check when both links already show Connected. Inspect the effective routes on the virtual machine's network interface for the peer's address range and the virtual network peering next hop. A working ping confirms ICMP connectivity for those endpoints at that moment. An application rollout still needs a test of its own destination and protocol. Azure peering troubleshooting