привели содержимое переменной wildcard_files_to_delete
Без лупов
``` TASK [Debug] ******************************************************************* ok: [localhost] => { "msg": { "changed": false, "msg": "All items completed", "results": [ { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "examined": 138, "failed": false, "files": [ { file1 }, ... { fileN } ], "invocation": { "module_args": { "age": null, "age_stamp": "mtime", "contains": null, "depth": null, "excludes": null, "file_type": "any", "follow": false, "get_checksum": false, "hidden": false, "paths": [ "./subdir1" ], "patterns": [ "*" ], "read_whole_file": false, "recurse": true, "size": null, "use_regex": false } }, "item": "subdir1", "matched": 138, "msg": "All paths examined", "skipped_paths": {} }, { "ansible_loop_var": "item", "changed": false, "examined": 71, "failed": false, "files": [ { file1 }, ... { fileN } ], "invocation": { "module_args": { "age": null, "age_stamp": "mtime", "contains": null, "depth": null, "excludes": null, "file_type": "any", "follow": false, "get_checksum": false, "hidden": false, "paths": [ "./subdir2" ], "patterns": [ "*" ], "read_whole_file": false, "recurse": true, "size": null, "use_regex": false } }, "item": "subdir2", "matched": 71, "msg": "All paths examined", "skipped_paths": {} }
Обсуждают сегодня