nova-manage returns 0 if the cell is created, 1 if the cell creation
fails, and 2 if the cell already exists. So we can use the return
codes from nova-manage to avoid failure when the cell already exists,
and also to properly set ansible's ok/changed status.
1102441a42/nova/cmd/manage.py (L1425)
Change-Id: I078caf682aa01db6d5a1472946b25159f3473586
2.3 KiB
2.3 KiB