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 3030
3131 - name : Set fact for containers list
3232 set_fact :
33- containers_list : host_containers.stdout
33+ containers_list : " {{ host_containers.stdout }} "
3434
3535 - name : Fail if no containers match given regex
3636 vars :
3737 hotfix_containers : " {{ containers_list | split('\n ') | regex_search(container_hotfix_container_regex) }}"
3838 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 }}"
4040 when : hotfix_containers == ""
4141
4242 - name : Ensure hotfix-files directory exists on the remote host
Original file line number Diff line number Diff line change 2020
2121- name : Run container_hotfix_command
2222 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