Browse Source

Remove unnecessary tasks from role test molecule jobs

This environmnt variable has been already set in
ansible-test-env.rc.

Change-Id: I1b07cf58a34963030dbdcf40fa69eecb1d0cb56b
changes/74/745774/2
Rabi Mishra 10 months ago
parent
commit
14a98e0e21
2 changed files with 0 additions and 16 deletions
  1. +0
    -7
      zuul.d/playbooks/pre.yml
  2. +0
    -9
      zuul.d/playbooks/run.yml

+ 0
- 7
zuul.d/playbooks/pre.yml View File

@ -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"


+ 0
- 9
zuul.d/playbooks/run.yml View File

@ -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…
Cancel
Save