blob: e00bb191696f67aaa957a1cbffb0b1e244661fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
---
tags:
- ansible
references:
- https://docs.ansible.com/ansible/latest/collections/ansible/builtin/wait_for_module.html
---
There's a module to wait for all sorts of stuff, e.g a file being created or removed:
```yaml
ansible.builtin.wait_for:
path: /opt/puppetlabs/puppet/cache/state/agent_catalog_run.lock
state: absent
```
|