
Currently the molecule job runs extra python and linter checks. This modifies it to run only molecule and adds the missing linter job. Change-Id: I8ae7ca2a134a55e99af995055748ebfcf2444fc5
19 lines
526 B
YAML
19 lines
526 B
YAML
---
|
|
|
|
- hosts: all
|
|
environment:
|
|
ANSIBLE_LOG_PATH: "{{ ansible_user_dir }}/zuul-output/logs/ansible-execution.log"
|
|
pre_tasks:
|
|
- name: Set project path fact
|
|
set_fact:
|
|
tripleo_ipa_project_path: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/x/tripleo-ipa'].src_dir }}"
|
|
|
|
tasks:
|
|
- name: Run role test job
|
|
shell: |-
|
|
. {{ ansible_user_dir }}/test-python/bin/activate
|
|
tox -e molecule
|
|
args:
|
|
chdir: "{{ tripleo_ipa_project_path }}"
|
|
executable: /bin/bash
|