Switching the delete param handler to use rm
It seems ansible is walking through the files before delete it and there are a lot of files, it's adding 205-40 minutes in the overcloud deployment, causing time out in the jobs. Change-Id: I84ff0350f97a376d7520a5fd460836f21c1ef801
This commit is contained in:
parent
f7892da477
commit
c344374502
|
@ -16,15 +16,11 @@
|
|||
|
||||
|
||||
- name: Delete param file
|
||||
file:
|
||||
dest: "{{ prepare_param.path }}"
|
||||
state: absent
|
||||
command: "rm -rf '{{ prepare_param.path }}'"
|
||||
check_mode: false
|
||||
become: true
|
||||
|
||||
- name: Delete role file
|
||||
file:
|
||||
dest: "{{ role_data.path }}"
|
||||
state: absent
|
||||
command: "rm -rf '{{ role_data.path }}'"
|
||||
check_mode: false
|
||||
become: true
|
||||
|
|
Loading…
Reference in New Issue