Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roles/update/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ Role to run update
* `cifmw_update_ansible_ssh_private_key_file`: (String) Define the path to the private key file used for the compute nodes.
* `cifmw_update_wait_retries_reboot`: (Integer) Number of retries to wait for a compute node reboot. One retry is done every five seconds. Default to 60, so five minutes.
* `cifmw_update_resources_monitoring_interval`: (Integer) Interval, in seconds, between two resources monitor during update. Default to 10 seconds.
* `cifmw_update_openstack_update_kpatch`: (Boolean) Activate kpatch during update. Default to false.

## Examples
2 changes: 2 additions & 0 deletions roles/update/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ cifmw_update_openstack_cmd: >-
oc rsh -n {{ cifmw_update_namespace }} openstackclient openstack

## User facing
cifmw_update_openstack_update_kpatch: false

cifmw_update_reboot_test: false
cifmw_update_ansible_ssh_private_key_file: >-
"{{ ansible_ssh_private_key_file | default(ansible_user_dir ~ '/.ssh/id_cifw') }}"
Expand Down
1 change: 1 addition & 0 deletions roles/update/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
ansible.builtin.set_fact:
_make_update_params: |
TIMEOUT: {{ cifmw_update_openstack_update_run_timeout }}
KPATCH_UPDATE: {{ cifmw_update_openstack_update_kpatch }}
{% if _cifmw_update_use_fake_update | bool -%}
FAKE_UPDATE: true
CONTAINERS_NAMESPACE: {{ cifmw_update_openstack_update_run_containers_namespace }}
Expand Down
Loading