From b5079c15413d445ce971735690cf5c46b645ab98 Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Mon, 11 Dec 2017 23:44:33 -0600 Subject: [PATCH] Add pip config to lxc_hosts If this playbook is run on it's own, prior to a full stack being deployed, tasks will fail due to pip being configured incorrectly. This change adds the required common tasks to fix the potential situation. Change-Id: I09590659a2b2f1b7dfec577b97be91b1a294a7fd Signed-off-by: Kevin Carter --- playbooks/lxc-hosts-setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/lxc-hosts-setup.yml b/playbooks/lxc-hosts-setup.yml index 25baa8e4a9..580a438985 100644 --- a/playbooks/lxc-hosts-setup.yml +++ b/playbooks/lxc-hosts-setup.yml @@ -19,6 +19,8 @@ max_fail_percentage: 20 user: root pre_tasks: + - include: common-tasks/set-upper-constraints.yml + - include: common-tasks/set-pip-upstream-url.yml - name: Check the state of the default LXC service log directory stat: path: "/var/log/lxc" @@ -49,6 +51,8 @@ rsyslog_client_config_name: "99-lxc-rsyslog-client.conf" tags: - rsyslog + vars_files: + - defaults/repo_packages/openstack_services.yml environment: "{{ deployment_environment_variables | default({}) }}" tags: - lxc-hosts