22b4f74690
If this grep doesn't match, the task returns a failure and it causes the job to abort with POST_FAILURE. I think more info is generally helpful and you can always grep "netstat" on the file manually; thus remove the grep to avoid suprious failure. Change-Id: I189a0a8be25cb12e946d8ac58667b287f9698064
9 lines
342 B
YAML
9 lines
342 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Get tftpd info from journald
|
|
shell: "journalctl -t in.tftpd > {{ zuul_output_dir }}/logs/tftpd-journal.txt"
|
|
become: yes
|
|
- name: Get network connection information for ironic process
|
|
shell: "netstat -apn > {{ zuul_output_dir }}/logs/post-job-network-connections.txt"
|
|
become: yes
|