From 2c1b8fc51c38bf5b0c8b3f4ab16ff1a1c8ee56fc Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Fri, 16 Mar 2018 01:07:04 -0500 Subject: [PATCH] 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 (cherry picked from commit 0595e23ff7fa612666fa971312dfcfe719e002ce) --- playbooks/containers-lxc-create.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/containers-lxc-create.yml b/playbooks/containers-lxc-create.yml index 8c11f74488..d9c9b9d147 100644 --- a/playbooks/containers-lxc-create.yml +++ b/playbooks/containers-lxc-create.yml @@ -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({}) }}"