Correct is_container when deploying containers

The is_container option was not be set or correctly interpreted. This
change sets the option when the openstack_host role is run on
containers.

Example host specific tasks running on containers unnecessarily:
  http://logs.openstack.org/36/553636/2/check/openstack-ansible-deploy-aio_lxc-ubuntu-xenial/3805c3f/job-output.txt.gz#_2018-03-16_02_31_02_897102

Change-Id: Ic90ae64dc00802154bf51831f4ed459d945600b9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit 0595e23ff7)
This commit is contained in:
Kevin Carter 2018-03-16 01:07:04 -05:00 committed by Kevin Carter (cloudnull)
parent 8badb1a240
commit 2c1b8fc51c
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@
- include: common-tasks/set-pip-upstream-url.yml
roles:
- role: "openstack_hosts"
is_container: true
vars_files:
- defaults/repo_packages/openstack_services.yml
environment: "{{ deployment_environment_variables | default({}) }}"