openstack-ansible-os_cinder/tasks
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
..
cinder_backends.yml Support no validation of internal SSL endpoints 2017-05-12 10:54:29 +00:00
cinder_cleanup_old_facts.yml Simplify and optimise cinder tasks 2017-07-06 06:18:55 +00:00
cinder_db_setup.yml Correct cinder online migrations command 2017-08-30 08:56:52 +01:00
cinder_init_systemd.yml Add external LB management handler hook interface 2017-09-16 13:54:06 -05:00
cinder_install.yml Add external LB management handler hook interface 2017-09-16 13:54:06 -05:00
cinder_lvm_config.yml Cleanup/standardize usage of tags 2016-07-12 16:15:42 -04:00
cinder_post_install.yml Use group_names to check a host belongs to group 2017-11-16 17:44:41 +07:00
cinder_pre_install.yml Adds support for specifying GID AND UID for cinder system user 2017-10-18 10:05:29 +00:00
cinder_qos.yml remove the use of iteritems 2017-08-02 15:12:17 -05:00
cinder_service_add.yml Cleanup/standardize usage of tags 2016-07-12 16:15:42 -04:00
cinder_service_setup.yml Add support for cinder v3 api 2017-03-16 13:52:56 +01:00
cinder_uwsgi.yml Add external LB management handler hook interface 2017-09-16 13:54:06 -05:00
main.yml Use group_names to check a host belongs to group 2017-11-16 17:44:41 +07:00