Use /var/lib rather than /tmp

/tmp can be different per user and is causing our translations jobs to
fail.

We should use /var/lib for the purposes of the gate - we use this in the
role gate too.

Change-Id: I871d7b68454fc39e630dbc86b5223e9ecd75cbca
This commit is contained in:
Andy McCrae 2017-08-31 12:03:58 +01:00
parent 9ef8dd543a
commit 64bd12af7c

View File

@ -29,13 +29,13 @@
- curl
- kpartx
- git
- name: Create Temp Dir
tempfile:
- name: Create Octavia tmp dir
file:
state: directory
register: tmp_dir
- name: Set Temp Dir Path
path: "/var/lib/octavia"
- name: Set Octavia tmp dir
set_fact:
bootstrap_host_octavia_tmp: "{{ tmp_dir.path }}"
bootstrap_host_octavia_tmp: "/var/lib/octavia"
- name: Install pip requirements
pip:
name: "{{ item }}"