Remove unnecessary tasks from role test molecule jobs
This environmnt variable has been already set in ansible-test-env.rc. Change-Id: I1b07cf58a34963030dbdcf40fa69eecb1d0cb56b
This commit is contained in:
parent
29993d43b3
commit
14a98e0e21
|
@ -6,13 +6,6 @@
|
|||
set_fact:
|
||||
tripleo_ansible_project_path: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/tripleo-ansible'].src_dir }}"
|
||||
|
||||
- name: Set action plugin path fact
|
||||
set_fact:
|
||||
tripleo_action_plugins_paths:
|
||||
- "{{ tripleo_ansible_project_path }}/tripleo_ansible/roles.galaxy/config_template/action"
|
||||
- "{{ tripleo_ansible_project_path }}/tripleo_ansible/ansible_plugins/action"
|
||||
- "/usr/share/ansible/plugins/action"
|
||||
|
||||
- name: Ensure output dirs
|
||||
file:
|
||||
path: "{{ ansible_user_dir }}/zuul-output/logs"
|
||||
|
|
|
@ -19,13 +19,6 @@
|
|||
triple_ansible_testdir: "{{ tripleo_ansible_project_path }}/tripleo_ansible/ansible_plugins/tests"
|
||||
when: tripleo_role_name is not defined
|
||||
|
||||
- name: Set action plugin path fact
|
||||
set_fact:
|
||||
tripleo_action_plugins_paths:
|
||||
- "{{ tripleo_ansible_project_path }}/tripleo_ansible/roles.galaxy/config_template/action"
|
||||
- "{{ tripleo_ansible_project_path }}/tripleo_ansible/ansible_plugins/action"
|
||||
- "/usr/share/ansible/plugins/action"
|
||||
|
||||
tasks:
|
||||
- name: Run role test job
|
||||
shell: |-
|
||||
|
@ -39,5 +32,3 @@
|
|||
args:
|
||||
chdir: "{{ triple_ansible_testdir }}"
|
||||
executable: /bin/bash
|
||||
environment:
|
||||
ANSIBLE_ACTION_PLUGINS: "{{ tripleo_action_plugins_paths | join(':') }}"
|
||||
|
|
Loading…
Reference in New Issue