Updated nova logic to correct issues with addon devices

The logic within the pre_tasks was too loose. The pre_tasks need
to have a bit more restrictive conditionals. Additionall the
`lxc-device add` command which is being used always exits 0
even when the device add fails. While the task does not have
issues with running we should be making sure that our changes
are being recoreded correctly.
Closes-Bug: 1434945
Change-Id: Icb1707db6bde6c0a26af6bca21a1f88dc3c315a8
This commit is contained in:
Kevin Carter
2015年03月22日 00:37:49 -05:00
committed by Jesse Pretorius
parent 8da17909bf
commit 13eadd19fc

View File

@@ -14,7 +14,9 @@
# limitations under the License.
- include:nova_compute_kvm.yml
when:nova_virt_type == 'kvm' or nova_virt_type == 'qemu'
when:>
nova_virt_type == 'kvm' or
nova_virt_type == 'qemu'
- include:nova_compute_key_create.yml
Reference in New Issue
openstack/openstack-ansible-os_nova
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.