6af32ae579
Add jinja[spacing] to warn list and fix name[play] issues. Change-Id: Ie9d1d92e8c2fc2e69e0d1fd14ec859ebc67f6a38
17 lines
488 B
YAML
17 lines
488 B
YAML
---
|
|
- name: Register Nova flavors
|
|
hosts: localhost
|
|
tags:
|
|
- flavor-registration
|
|
tasks:
|
|
- name: Configure Nova flavors
|
|
include_role:
|
|
name: nova-flavors
|
|
vars:
|
|
flavors_virtualenv_path: "{{ virtualenv_path }}"
|
|
flavors_python_upper_constraints_url: >-
|
|
{{ python_upper_constraints_url }}
|
|
flavors: "{{ nova_flavors }}"
|
|
flavors_state: "{{ 'absent' if cmd == 'teardown' else 'present' }}"
|
|
when: flavors | length > 0
|