]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
Allow subclasses of task.Ansible to provide an inventory group name 569/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 13 Jul 2015 15:47:21 +0000 (10:47 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 14 Jul 2015 16:46:03 +0000 (11:46 -0500)
commit8c5efbb254783a505c90c574826ef7c03594cfb8
treec6ccc5f9b5f7523b63acc110c8dfb4ac8adcd199
parentd16a3eecaaec313cc4f617851db923d84c9c6464
Allow subclasses of task.Ansible to provide an inventory group name

Subclasses of task.Ansible can now provide an inventory group name to
assign all nodes to when creating a dynamic inventory.

This PR also makes ansible.CephLab use the group 'testnodes'. Without this,
teuthology can not run the testnodes.yml playbook against it's locked nodes
using a dynamic inventory as it's restricted to the testnodes group.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
teuthology/task/ansible.py
teuthology/test/task/test_ansible.py