Cuong Nguyen 2bcf76646b Use group_names to check a host belongs to group
group_names is one of magic variables from Ansible [1] which is a
list of all groups the current host is in, using this syntax will be
more readable and avoid assuming that specific group is already defined
in inventory. Another use case is if we want to run a task only if the
host does not belong to a certain group.

This also makes consitent with some usages in current code [2].

[1]
http://docs.ansible.com/ansible/latest/playbooks_variables.html#magic-variables-and-how-to-access-information-about-other-hosts
[2]
https://github.com/openstack/openstack-ansible-os_cinder/blob/master/tasks/main.yml#L70

Change-Id: I7f85e18829cd3c9835f592ceb74f4e6460208ca6
2017-11-16 17:44:41 +07:00
2017-10-26 17:17:36 +02:00
2017-10-10 09:32:10 +00:00
2017-09-13 00:58:08 -07:00
2016-09-27 15:00:22 +00:00
2017-03-02 11:51:34 +00:00

Team and repository tags

image

OpenStack-Ansible cinder

This Ansible role installs and configures OpenStack cinder.

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-os_cinder/latest/

The project home is at:

http://launchpad.net/openstack-ansible

Description
Role os_cinder for OpenStack-Ansible
Readme 8.3 MiB
Languages
Jinja 52.6%
Python 34.1%
Shell 13.3%