infrared
infrared copied to clipboard
ansible.builtin.stat should be stat
https://github.com/redhat-openstack/infrared/blob/4af7acb14263c5f91db67f01b52bcee4e3a21e67/plugins/tripleo-undercloud/backup.yml#L36
According to requirements.txt, infrared use ansible version as follows.
ansible>=2.7.13,<2.8.0 ; python_version < '3'
ansible>=2.9.0,<2.10.0 ; python_version >= '3'
Until Ansible-2.9, ansible.builtin.stat cannot be used.
https://docs.ansible.com/ansible/2.9/modules/stat_module.html
So, I think it should be stat instead of ansible.builtin.stat.