diff --git a/tasks/collect_config/main.yml b/tasks/collect_config/main.yml index 15448642fdb1ecdf19c4acbadc68b80667d4dad8..c58fc081386a7c4f4808bbd6badebf02294f68a3 100644 --- a/tasks/collect_config/main.yml +++ b/tasks/collect_config/main.yml @@ -24,6 +24,14 @@ - name: "Move exported config to working copy" command: 'mv {{ pathExport }} {{ pathWorking }}' + # Note: If parallel processes are running the pathExport could be gone by now. + failed_when: false + ignore_errors: true + + - name: "Ensure working directory" + file: + path: '{{ pathWorking }}' + state: 'directory' - name: "Read file name in working copy" shell: 'ls {{ pathWorking }} -1'