Merge "Fix resume_guests_state_on_host_boot_enabled fact" into stable/queens

This commit is contained in:
Zuul 2019-07-31 09:38:31 +00:00 committed by Gerrit Code Review
commit d370764406
1 changed files with 2 additions and 1 deletions

View File

@ -252,6 +252,7 @@ resources:
nfs_vers: NovaNfsVersion
nova::compute::libvirt::mem_stats_period_seconds: NovaLibvirtMemStatsPeriodSeconds
nova::compute::resume_guests_state_on_host_boot: NovaResumeGuestsStateOnHostBoot
resume_guests_state_on_host_boot: NovaResumeGuestsStateOnHostBoot
- values: {get_param: [RoleParameters]}
- values:
NovaVcpuPinSet: {get_param: NovaVcpuPinSet}
@ -374,7 +375,7 @@ outputs:
when: nfs_backend_enable|bool
- name: is Nova Resume Guests State On Host Boot enabled
set_fact:
resume_guests_state_on_host_boot_enabled: {get_param: NovaResumeGuestsStateOnHostBoot}
resume_guests_state_on_host_boot_enabled: {get_attr: [RoleParametersValue, value, resume_guests_state_on_host_boot]}
- name: install libvirt-guests systemd unit file
when: resume_guests_state_on_host_boot_enabled|bool
block: