File tree Expand file tree Collapse file tree 2 files changed +19
-18
lines changed Expand file tree Collapse file tree 2 files changed +19
-18
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ jobs:
323
323
-v $(pwd)/diagnostics:/stack/diagnostics \
324
324
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
325
325
$KAYOBE_IMAGE \
326
- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/diagnostics.yml'
326
+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/diagnostics.yml' -vvv
327
327
env :
328
328
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
329
329
if : ${{ always() && steps.tf_apply.outcome == 'success' }}
Original file line number Diff line number Diff line change 34
34
35
35
# FIXME: The synchronize module fails on Yoga, due to not templating
36
36
# the SSH user.
37
- # - name: Download diagnostic logs to localhost
38
- # ansible.posix.synchronize:
39
- # src: "{{ diagnostics_tmpdir.path }}/"
40
- # dest: "{{ diagnostics_path_local }}/{{ inventory_hostname }}"
41
- # mode: pull
42
- # archive: no
43
- # recursive: true
44
- # copy_links: true
45
- # verify_host: true
46
- # # For jump host
47
- # # use_ssh_args: true
48
- # failed_when: false
37
+ - name : Download diagnostic logs to localhost
38
+ ansible.posix.synchronize :
39
+ src : " {{ diagnostics_tmpdir.path }}/"
40
+ dest : " {{ diagnostics_path_local }}/{{ inventory_hostname }}"
41
+ mode : pull
42
+ archive : no
43
+ recursive : true
44
+ copy_links : true
45
+ verify_host : true
46
+ # For jump host
47
+ use_ssh_args : true
48
+ failed_when : false
49
49
50
50
# FIXME: Hangs :(
51
51
# - name: Download diagnostic logs to localhost
58
58
# '{{ diagnostics_path_local }}/{{ inventory_hostname }}'
59
59
# changed_when: true
60
60
61
- - name : Download diagnostic logs to localhost
62
- ansible.builtin.fetch :
63
- src : " {{ diagnostics_tmpdir.path }}/"
64
- dest : " {{ diagnostics_path_local }}/{{ inventory_hostname }}"
65
- fail_on_missing : false
61
+ # FIXME: doesn't support directories
62
+ # - name: Download diagnostic logs to localhost
63
+ # ansible.builtin.fetch:
64
+ # src: "{{ diagnostics_tmpdir.path }}/"
65
+ # dest: "{{ diagnostics_path_local }}/{{ inventory_hostname }}"
66
+ # fail_on_missing: false
66
67
always :
67
68
- name : Clean up temporary directory
68
69
ansible.builtin.file :
You can’t perform that action at this time.
0 commit comments