skyline-apiserver/playbooks/devstack/pre.yaml
yangshaoxue babe6fe563 fix: Update .zuul.yaml
fix: Update .zuul.yaml
Change-Id: I8bc5bdefcfc56c0e91b2b6ff6125e6b9f9b44996
2022-03-10 19:10:57 +08:00

22 lines
554 B
YAML

---
- hosts: controller
roles:
- ensure-tox
- hosts: controller
vars:
- devstack_base_dir: /opt/stack
- skyline_source_dirs: src/opendev.org/openstack/skyline-apiserver
tasks:
- name: Copy skyline-apiserver repos into devstack working directory
command: rsync -a {{ skyline_source_dirs }} {{ devstack_base_dir }}
become: yes
- name: Set ownership of repos
file:
path: '{{ devstack_base_dir }}'
state: directory
recurse: true
owner: stack
group: stack
become: yes