Use tripleo_kernel standalone role for upgrade_tasks

Use the upgrade_tasks from the tripleo-kernel standalone role in
tripleo-heat-templates.

Depends-On: I34e65bd7b6003c6be959748a3feb4e583df5c51e
Change-Id: Iffa210b48c2e1e8c7abce441bb475b16c995cabc
Signed-off-by: James Slagle <jslagle@redhat.com>
This commit is contained in:
James Slagle 2022-04-19 08:39:41 -04:00
parent 5139180f3f
commit 6f5a8e2d81
1 changed files with 3 additions and 11 deletions

View File

@ -153,14 +153,6 @@ outputs:
when:
- step|int == 3
- upgrade_leapp_enabled
block:
- name: fix grub entries to have name start with GRUB_
replace:
path: '/etc/default/grub'
regexp: '^(TRIPLEO_HEAT_TEMPLATE_KERNEL_ARGS)(.*)'
replace: 'GRUB_\1\2'
- name: fix grub entries in append statement
replace:
path: '/etc/default/grub'
regexp: '(.*){(TRIPLEO_HEAT_TEMPLATE_KERNEL_ARGS)}(.*)'
replace: '\1{GRUB_\2}\3'
include_role:
name: tripleo_kernel
tasks_from: upgrade_tasks.yml