Update zuul test roles to use zuul_pip_virtualenv

We cannot expect users to use /opt/venv/zuul by default, instead use
zuul_pip_virtualenv setting.

Change-Id: I7ab71ed89248796936ae129c6da92eced9730108
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2019-01-20 18:11:13 -05:00
parent ecd50da0f0
commit 25a5b1d00d
5 changed files with 15 additions and 15 deletions

View File

@ -12,12 +12,12 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Register /opt/venv/zuul
- name: "Register {{ zuul_pip_virtualenv }}"
stat:
path: /opt/venv/zuul
path: "{{ zuul_pip_virtualenv }}"
register: test_zuul_pip_virtualenv_stat
- name: Assert /opt/venv/zuul tests
- name: "Assert {{ zuul_pip_virtualenv }} tests"
assert:
that:
- test_zuul_pip_virtualenv_stat.stat.exists

View File

@ -12,12 +12,12 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Register /opt/venv/zuul
- name: "Register {{ zuul_pip_virtualenv }}"
stat:
path: /opt/venv/zuul
path: "{{ zuul_pip_virtualenv }}"
register: test_zuul_pip_virtualenv_stat
- name: Assert /opt/venv/zuul tests
- name: "Assert {{ zuul_pip_virtualenv }} tests"
assert:
that:
- test_zuul_pip_virtualenv_stat.stat.exists

View File

@ -12,12 +12,12 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Register /opt/venv/zuul
- name: "Register {{ zuul_pip_virtualenv }}"
stat:
path: /opt/venv/zuul
path: "{{ zuul_pip_virtualenv }}"
register: test_zuul_pip_virtualenv_stat
- name: Assert /opt/venv/zuul tests
- name: "Assert {{ zuul_pip_virtualenv }} tests"
assert:
that:
- test_zuul_pip_virtualenv_stat.stat.exists

View File

@ -12,12 +12,12 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Register /opt/venv/zuul
- name: "Register {{ zuul_pip_virtualenv }}"
stat:
path: /opt/venv/zuul
path: "{{ zuul_pip_virtualenv }}"
register: test_zuul_pip_virtualenv_stat
- name: Assert /opt/venv/zuul tests
- name: "Assert {{ zuul_pip_virtualenv }} tests"
assert:
that:
- test_zuul_pip_virtualenv_stat.stat.exists

View File

@ -12,12 +12,12 @@
# License for the specific language governing permissions and limitations
# under the License.
---
- name: Register /opt/venv/zuul
- name: "Register {{ zuul_pip_virtualenv }}"
stat:
path: /opt/venv/zuul
path: "{{ zuul_pip_virtualenv }}"
register: test_zuul_pip_virtualenv_stat
- name: Assert /opt/venv/zuul tests
- name: "Assert {{ zuul_pip_virtualenv }} tests"
assert:
that:
- test_zuul_pip_virtualenv_stat.stat.exists