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:
|
set_fact:
|
||||||
tripleo_ansible_project_path: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/tripleo-ansible'].src_dir }}"
|
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
|
- name: Ensure output dirs
|
||||||
file:
|
file:
|
||||||
path: "{{ ansible_user_dir }}/zuul-output/logs"
|
path: "{{ ansible_user_dir }}/zuul-output/logs"
|
||||||
|
|
|
@ -19,13 +19,6 @@
|
||||||
triple_ansible_testdir: "{{ tripleo_ansible_project_path }}/tripleo_ansible/ansible_plugins/tests"
|
triple_ansible_testdir: "{{ tripleo_ansible_project_path }}/tripleo_ansible/ansible_plugins/tests"
|
||||||
when: tripleo_role_name is not defined
|
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:
|
tasks:
|
||||||
- name: Run role test job
|
- name: Run role test job
|
||||||
shell: |-
|
shell: |-
|
||||||
|
@ -39,5 +32,3 @@
|
||||||
args:
|
args:
|
||||||
chdir: "{{ triple_ansible_testdir }}"
|
chdir: "{{ triple_ansible_testdir }}"
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
environment:
|
|
||||||
ANSIBLE_ACTION_PLUGINS: "{{ tripleo_action_plugins_paths | join(':') }}"
|
|
||||||
|
|
Loading…
Reference in New Issue