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 <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2017-12-11 23:44:33 -06:00
parent 8eeda68c2d
commit b5079c1541
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3

View File

@ -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