File: pre.yml

package info (click to toggle)
python-os-faults 0.2.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 696 kB
  • sloc: python: 4,797; sh: 54; makefile: 24
file content (33 lines) | stat: -rw-r--r-- 854 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---

# as of 15-May-19 devstack copies repos from hardcoded list of organizations only (and performa is not there)
# copied from https://opendev.org/openstack/devstack/src/branch/master/roles/setup-devstack-source-dirs/tasks/main.yaml

- hosts: all
  tasks:
    - name: Find source repos from performa organization
      find:
        paths:
          - src/opendev.org/performa
        file_type: directory
      register: found_repos

    - name: Copy Zuul repos into devstack working directory
      command: rsync -a {{ item.path }} /opt/stack
      with_items: '{{ found_repos.files }}'
      become: yes

    - name: Set ownership of repos
      file:
        path: /opt/stack
        state: directory
        recurse: true
        owner: stack
        group: stack
      become: yes


- hosts: all
  roles:
    - bindep
    - orchestrate-devstack