From 232b50dc3692913f43081507cb16d37fc4458a0a Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 4 Dec 2018 15:22:35 -0500 Subject: [PATCH] Add specific play to bootstrap python dependencies For example, zookeeper nodes don't actually need to install the virtualenv role because zookeeper is java. Change-Id: I71318029fb558a7087cc2f8db625b48592615ad4 Signed-off-by: Paul Belanger --- playbooks/bootstrap.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/playbooks/bootstrap.yaml b/playbooks/bootstrap.yaml index e6245fd..9e02b0c 100644 --- a/playbooks/bootstrap.yaml +++ b/playbooks/bootstrap.yaml @@ -31,6 +31,13 @@ include_role: name: openstack.sudoers +- name: Bootstrap python dependencies for windmill + hosts: all,!bastion,!zookeeper + # NOTE(pabelanger): Because we are currently using a single host, we need this + # operation to be serial. When we switch to multi-host, this can be removed. + serial: 1 + + tasks: - name: Setup openstack.virtualenv role include_role: name: openstack.virtualenv