Skip to content

Commit

Permalink
cluster_upgrade: Add default random uuid to engine_correlation_id
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Nečas <[email protected]>
  • Loading branch information
mnecas committed Nov 15, 2022
1 parent e8a7d91 commit cd1c793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion roles/cluster_upgrade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Role Variables
| healing_in_progress_checks | 6 | Maximum number of attempts to check if gluster healing is still in progress. |
| healing_in_progress_check_delay | 300 | The delay in seconds between each attempt to check if gluster healing is still in progress. |
| wait_to_finish_healing | 5 | Delay in minutes to wait to finish gluster healing process after successful host upgrade. |
| engine_correlation_id | UNDEF | The correlation id with which be the role run. |
| engine_correlation_id | <i>Randomly generated UUID</i> | The correlation id with which be the role run. |

Example Playbook
----------------
Expand Down
1 change: 1 addition & 0 deletions roles/cluster_upgrade/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ pinned_vms_names: []
healing_in_progress_checks: 6
healing_in_progress_check_delay: 300
wait_to_finish_healing: 5
engine_correlation_id: "{{ 99999999 | random | to_uuid }}"

0 comments on commit cd1c793

Please sign in to comment.