Remove duplicated tasks from build jobs

https://review.openstack.org/#/c/607288/ shuffled some basic setup tasks
around and put them in tripleo-ci/pre.yaml. Unfortunately the
configure-swap task isn't idempotent so let's stop duplicating the tasks
in the build jobs now.

Change-Id: I046aeea86b3b63cae0b44865dc8ee0a59a3f7f5f
Closes-Bug: #1810777
This commit is contained in:
Alex Schultz 2019-01-07 07:32:20 -07:00
parent a65710d7ee
commit c1327819bb
2 changed files with 0 additions and 36 deletions

View File

@ -12,24 +12,6 @@
set_fact:
ci_branch: "{{ zuul.branch | default('master') | replace('stable/','') }}"
- name: Swap is essential as we are not meeting memory requirements
include_role:
name: configure-swap
- name: Set legacy log path
include_role:
name: set-zuul-log-path-fact
- name: Ensure legacy workspace directory
file:
path: '{{ workspace }}'
state: directory
- name: Ensure legacy logs directory
file:
path: '{{ workspace }}/logs'
state: directory
- name: Install pip
become: true
package:

View File

@ -10,24 +10,6 @@
include_vars:
file: "common.yaml"
- name: Swap is essential as we are not meeting memory requirements
include_role:
name: configure-swap
- name: Set legacy log path
include_role:
name: set-zuul-log-path-fact
- name: Ensure legacy workspace directory
file:
path: '{{ workspace }}'
state: directory
- name: Ensure legacy logs directory
file:
path: '{{ workspace }}/logs'
state: directory
- name: Install pip
package:
name: python-pip