tenks/ansible/flavor_registration.yml
2018-09-10 15:33:43 +00:00

13 lines
391 B
YAML

---
- hosts: localhost
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' }}"