Run cinder-setup against cinder_volume hosts

Only setup cinder volumes on cinder_volume hosts rather than
"localhost", this will mean we can run cinder_volume in containers for
testing rather than only against localhost.

Change-Id: I28e713823fc8b7dffa8f943a1af96ec9f29d403b
This commit is contained in:
Andy McCrae 2016-12-21 18:15:31 +00:00
parent 38b23f70f7
commit da95d3e4ee
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
# limitations under the License.
- name: Prepare cinder-volumes volume group
hosts: localhost
hosts: cinder_volume
tasks:
- name: Install lvm2 apt package
apt: