There is no difference between files in a recursive directory #75727
Labels
affects_2.12
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Summary
Issue Type
Bug Report
Component Name
copy,file,state
Ansible Version
Configuration
OS / Environment
Centos,Ubuntu,MacOS
Steps to Reproduce
The source directory has single file
The source directory has multiple files, No differences between multiple files are shown
Expected Results
···yaml
/tmp » ansible localhost -m copy -a 'src=/tmp/test1 dest=/tmp/test5' -C --diff -v yayun@zyyMAC
[WARNING]: You are running the development version of Ansible. You should only run Ansible from "devel" if you are modifying the Ansible engine, or trying out features under development. This is a rapidly
changing source of code and can become unstable at any point.
No config file found; using defaults
[WARNING]: No inventory was parsed, only implicit localhost is available
--- before
+++ after: /tmp/test1/tox.ini
@@ -0,0 +1,31 @@
+[tox]
+envlist = py26,py27,py35,py36
+
+[testenv]
+deps = -c{toxinidir}/test/runner/requirements/constraints.txt
.....
--- before
+++ after: /tmp/test1/Makefile
@@ -0,0 +1,31 @@
+# WARN: gmake syntax
+########################################################
+# Makefile for Ansible
+#
+# useful targets:
+# make sdist ---------------- produce a tarball
+# make srpm ----------------- produce a SRPM
+# make rpm ----------------- produce RPMs
+# make deb-src -------------- produce a DEB source
+# make deb ------------------ produce a DEB
+# make docs ----------------- rebuild the manpages (results are checked in)
+# make tests ---------------- run the tests (see +https://docs.ansible.com/ansible/devel/dev_guide/testing_units.html for requirements)
+# make pyflakes, make pep8 -- source code checks
localhost | CHANGED => {
"changed": true
}
Code of Conduct
The text was updated successfully, but these errors were encountered: