Commit 41016fd7 by ansible

no message

1 parent 74ac11fe
Showing with 2 additions and 2 deletions
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
register: running_processes register: running_processes
- name: Kill running processes - name: Kill running processes
shell: "kill {{ item }}" shell: "kill {{ item }}"
with_items: "{{ running_processes.stdout_lines }}" with_items: "{{ running_processes.stdout_lines }}"
- wait_for: - wait_for:
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
register: killed_processes register: killed_processes
- name: Force kill stuck processes - name: Force kill stuck processes
shell: "kill -9 {{ item }}" shell: "kill -9 {{ item }}"
with_items: "{{ killed_processes.results | select('failed') | map(attribute='item') | list }}" with_items: "{{ killed_processes.results | select('failed') | map(attribute='item') | list }}"
# END # END
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!