tenks/ansible/roles/nova-flavors
Mark Goddard a30ac7de48 Fix ansible-lint nits
Ansible lint has become more fussy about its nit picking, blocking CI.

This change makes it happy again.

Change-Id: Ifb86c5e071697acda014bb543cab7ebf2b648dc9
2018-12-19 18:55:36 +00:00
..
defaults Allow teardown of Nova flavors 2018-09-10 15:33:43 +00:00
files Add Nova flavor registration 2018-09-06 16:53:20 +00:00
tasks Fix ansible-lint nits 2018-12-19 18:55:36 +00:00
README.md Allow teardown of Nova flavors 2018-09-10 15:33:43 +00:00

README.md

Nova Flavors

This role manages flavors in Nova. If flavors_state is present, it will ensure the specified flavors eexist; if it is absent, it will ensure they do not.

Requirements

  • OS_* environment variables for the OpenStack cloud in question present in the shell environment. These can be sourced from an OpenStack RC file, for example.

Role Variables

  • flavors: A list of dicts of details for flavors that are to be created. The format for this is detailed in defaults/main.yml.
  • flavors_virtualenv_path: The path to the virtualenv in which to install the OpenStack clients.
  • flavors_python_upper_constraints_url: The URL of the upper constraints file to pass to pip when installing Python packages.
  • flavors_state: Whether the specified flavors should be present or absent. Default is present.