Skip to content
Snippets Groups Projects
Commit 91cb3c4b authored by jurgenhaas's avatar jurgenhaas
Browse files

Improve collect_config such that even parallel processes are possible and won't fail

parent 6d91684b
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment