2bcf76646b
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 |
||
---|---|---|
.. | ||
cinder_backends.yml | ||
cinder_cleanup_old_facts.yml | ||
cinder_db_setup.yml | ||
cinder_init_systemd.yml | ||
cinder_install.yml | ||
cinder_lvm_config.yml | ||
cinder_post_install.yml | ||
cinder_pre_install.yml | ||
cinder_qos.yml | ||
cinder_service_add.yml | ||
cinder_service_setup.yml | ||
cinder_uwsgi.yml | ||
main.yml |