File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 30
30
31
31
- name : Set fact for containers list
32
32
set_fact :
33
- containers_list : host_containers.stdout
33
+ containers_list : " {{ host_containers.stdout }} "
34
34
35
35
- name : Fail if no containers match given regex
36
36
vars :
37
37
hotfix_containers : " {{ containers_list | split('\n ') | regex_search(container_hotfix_container_regex) }}"
38
38
fail :
39
- msg : " No containers matched. Please check your regex. Containers running on host: {{ host_containers | split(' \n ') }}"
39
+ msg : " No containers matched. Please check your regex. Containers running on host: {{ host_containers.stdout_lines }}"
40
40
when : hotfix_containers == ""
41
41
42
42
- name : Ensure hotfix-files directory exists on the remote host
Original file line number Diff line number Diff line change 20
20
21
21
- name : Run container_hotfix_command
22
22
command : " {{ kolla_container_engine | default('docker')}} exec {{ '-u 0' if container_hotfix_become else '' }} {{ hotfix_container }} {{ container_hotfix_command }}"
23
+ when : container_hotfix_command
You can’t perform that action at this time.
0 commit comments