Files
packstack/playbooks/packstack-pre.yaml
Javier Pena df7cb04857 Zuul v3 support for Packstack jobs
- Do not generate the SSH private key if it already exists
- Set skipsdist = True in tox.ini
- Add Zuul v3 layout

Change-Id: I4b0254bf175d51c0a468b01f8ac034db43859572
2017-10-16 12:55:47 +02:00

27 lines
875 B
YAML

- hosts: all
name: packstack-pre
tasks:
- name: Ensure legacy workspace directory
file:
path: '{{ ansible_user_dir }}/workspace'
state: directory
- shell:
cmd: |
cp -pr /home/zuul/src/git.openstack.org/openstack/packstack {{ ansible_user_dir }}/workspace
- shell:
cmd: |
set -e
set -x
yum -y remove rdo-release "centos-release-openstack-*" "centos-release-ceph-*"
yum -y install libxml2-devel libxslt-devel ruby-devel zlib-devel
yum -y groupinstall "Development Tools"
# Uninstall python-requests from pip, since we install it in
# system-config/install_puppet.sh
pip uninstall requests -y || true
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'
become: true
environment: '{{ zuul }}'