Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check the stat dictionary's size, not the variable's size
The ansible.builtin.stat module returns a dictionary where the key to use is 'stat' in order to get the file stats. Add the missing stat key. Failure to do this causes the task to fail with size not being a key in the dictionary. ref: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/stat_module.html#ansible-collections-ansible-builtin-stat-module
- Loading branch information