Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
possible fix for #56716 #58199
Removes unnecessary check_mode checks from the copy action/module. The subsequent modules have their own check_mode checks and still return valuable data.
This PR is not perfect but it's far better having a reasonable subset of return values than nothing.
run the following playbook with
- hosts: localhost gather_facts: no tasks: - copy: content="." dest="/tmp/ansible-copy-test" check_mode: yes - copy: content="." dest="/tmp/ansible-copy-test" check_mode: no