515fd9e915
The copy action accepts force=no, which tells it not to replace an existing file even if it differs from the source. The copy action plug-in wasn't respecting this option when operated in check mode, so it would report that changes are necessary in check mode even though copy would make no changes when run normally. Runner._remote_md5 was changed to make the logic for setting rc perhaps a little more clear, and to make sure that rc=0 when the file does not exist. |
||
---|---|---|
.. | ||
assemble.d | ||
inventory_dir | ||
test_hash_behavior | ||
test_playbook_vars | ||
ansible.cfg | ||
ansible_hosts | ||
apt_key.gpg | ||
CentOS.yml | ||
common_vars.yml | ||
complex_hosts | ||
cron_test.yml | ||
default_os.yml | ||
hosts_list.yml | ||
inventory_api.py | ||
jinja2_overrides.tpl | ||
large_range | ||
lookup_plugins.yml | ||
playbook-included.yml | ||
playbook-includer.yml | ||
playbook-when.yml | ||
playbook1.yml | ||
results_list.yml | ||
rocannon.txt | ||
sample.j2 | ||
simple_hosts | ||
task-included.yml | ||
task-includer.yml | ||
template-basic | ||
template-whitespace | ||
TestConstants.py | ||
TestFilters.py | ||
TestInventory.py | ||
TestPlayBook.py | ||
TestRunner.py | ||
TestUtils.py | ||
world |