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:
@@ -19,6 +19,8 @@
|
|||||||
max_fail_percentage: 20
|
max_fail_percentage: 20
|
||||||
user: root
|
user: root
|
||||||
pre_tasks:
|
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
|
- name: Check the state of the default LXC service log directory
|
||||||
stat:
|
stat:
|
||||||
path: "/var/log/lxc"
|
path: "/var/log/lxc"
|
||||||
@@ -49,6 +51,8 @@
|
|||||||
rsyslog_client_config_name: "99-lxc-rsyslog-client.conf"
|
rsyslog_client_config_name: "99-lxc-rsyslog-client.conf"
|
||||||
tags:
|
tags:
|
||||||
- rsyslog
|
- rsyslog
|
||||||
|
vars_files:
|
||||||
|
- defaults/repo_packages/openstack_services.yml
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
tags:
|
tags:
|
||||||
- lxc-hosts
|
- lxc-hosts
|
||||||
|
|||||||
Reference in New Issue
Block a user