cinder is_metal is undefined
Check if is_metal is defined, also renaming the tasks name to reduce stress. Change-Id: Ifcd5b4d1a99ca61cbe508d4980d063a6a9adff1a
This commit is contained in:
parent
17a30dacc0
commit
ce9d791291
@ -13,7 +13,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Destroy lxc containers except galera
|
||||
- name: Cinder volume config check
|
||||
hosts: "cinder_volume"
|
||||
gather_facts: false
|
||||
user: root
|
||||
@ -22,7 +22,7 @@
|
||||
set_fact:
|
||||
in_container: true
|
||||
when: >
|
||||
is_metal != true or
|
||||
(is_metal is defined and is_metal != true) or
|
||||
container_name != physical_host
|
||||
|
||||
- name: Check if cinder backends are LVM
|
||||
|
Loading…
Reference in New Issue
Block a user