Make sure the container configuration is refreshed during update.

Following the refactor from Idf004f7a13544dfc1a8a6da033debd1a4f8b96e7
the operations needed to get the container configuration where removed
from the step1 file.

We need to re-include them explicitly during update so that new
changes get taken into account.

In the deployment we have this sequence (keeping only those common
with update):
 - step-0
 - host-prep-task
 - common container setup
 - common deploy steps tasks 1-5

We mimic this sequence in update by placing common container setup
before the common deploy steps tasks 1-5.

Change-Id: I5df88cf9d84f5fecb50b0c602b7923027d5f12b0
Closes-Bug: 1926281
This commit is contained in:
Sofer Athlan-Guyot 2021-04-29 09:57:12 +02:00
parent 18ee787f73
commit 1fd3ef688c
1 changed files with 2 additions and 0 deletions

View File

@ -972,6 +972,8 @@ outputs:
- import_tasks: deploy_steps_tasks_step_0.yaml
vars:
step: 0
- name: Make sure container configuration is refreshed
import_tasks: common_container_setup_tasks.yaml
- name: Write config data at the start of step 1
import_tasks: common_deploy_steps_tasks_step_1.yaml
{%- for step in range(1,deploy_steps_max) %}