Closed pbolduc closed 8 months ago
Is this workflow failure a transient issue? Dont understand why adding optional reboot command would cause,
INFO Pruning extra files from scenario ephemeral directory
Error: Process completed with exit code 1.
Is this workflow failure a transient issue? Dont understand why adding optional reboot command would cause,
INFO Pruning extra files from scenario ephemeral directory Error: Process completed with exit code 1.
Yes, this happens a lot with the ipv6 test. Going to update a few things in a PR. If this keeps happening I am leaning towards disabling that test.
Proposed Changes
This change adds an optional
custom_reboot_command
. On Diet Pi, there is no dbus installed. See Diet Pi Release Notes.If
custom_reboot_command
is defined, thereboot_command
parameter will be passed to theansible.builtin.reboot
module. Ifcustom_reboot_command
is not defined, thenreboot_command
is omitted and the default behavior occurs.sample/group_vars/all.yml
with commentsreboot_command: "{{ custom_reboot_command | default(omit) }}"
to each reboot module usage.Fixes one problem in https://github.com/techno-tim/k3s-ansible/issues/463
Checklist
site.yml
playbookreset.yml
playbook