diff --git a/tasks/collect_config/collect.yml b/tasks/collect_config/collect.yml index d7d40efd512f46fc7e1595c84b967186cbdb3ed4..449f9b752c31b92f437c3453238bd2257cfb443f 100644 --- a/tasks/collect_config/collect.yml +++ b/tasks/collect_config/collect.yml @@ -17,7 +17,9 @@ state: directory - name: Read file name in working copy - shell: ls {{ pathWorking }} -1 + shell: find . -type f + args: + chdir: '{{ pathWorking }}' register: list_config_files - name: Copy working copy to config path