diff --git a/.automation b/.automation index 68a34ce4d..dc8baaf2c 160000 --- a/.automation +++ b/.automation @@ -1 +1 @@ -Subproject commit 68a34ce4d5dc72ca0097fa08d1018e3574ded0ba +Subproject commit dc8baaf2cbf45a37f50d47cc32fa43d3036dc6b5 diff --git a/etc/kayobe/ansible/diagnostics.yml b/etc/kayobe/ansible/diagnostics.yml index edb5800b6..fa982a1c7 100644 --- a/etc/kayobe/ansible/diagnostics.yml +++ b/etc/kayobe/ansible/diagnostics.yml @@ -9,10 +9,17 @@ - name: Collect diagnostic information hosts: seed-hypervisor:seed:overcloud:infra-vms vars: - diagnostics_path_local: "{{ lookup('env', 'PWD') }}/diagnostics" + diagnostics_path_local: "{{ lookup('env', 'HOME') }}/diagnostics" tasks: - name: Run diagnostics block: + - name: Create a local directory to sync diagnostics + ansible.builtin.file: + path: "{{ diagnostics_path_local }}" + state: directory + delegate_to: localhost + run_once: true + - name: Create a temporary directory for diagnostics ansible.builtin.tempfile: state: directory diff --git a/releasenotes/notes/kayobe-automation-change-directory-dddf4772b3ee81af.yaml b/releasenotes/notes/kayobe-automation-change-directory-dddf4772b3ee81af.yaml new file mode 100644 index 000000000..35b65b5c6 --- /dev/null +++ b/releasenotes/notes/kayobe-automation-change-directory-dddf4772b3ee81af.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + `Bump kayobe-automation `__ + to include fix that runs kayobe commands from the directory + specified in ``KAYOBE_CONFIG_PATH``.