This repository was archived by the owner on Oct 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgithub-prepare.yml
More file actions
48 lines (47 loc) · 1.66 KB
/
github-prepare.yml
File metadata and controls
48 lines (47 loc) · 1.66 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- name: setup github repositories
hosts: localhost
connection: local
gather_facts: no
vars_files:
- hackathons/{{ hackathon_edition }}.yml
- hackathons/default.yml
roles:
- {
role: github_repo,
github_repo_projects: "{{ projects }}",
github_repo_organization: "{{ github_organization }}",
github_repo_user: "{{ lookup('env', 'GH_USERNAME') }}",
github_repo_token: "{{ lookup('env', 'GH_ACCESS_TOKEN') }}"
}
- {
role: github_repo,
github_repo_projects: "{{ docs }}",
github_repo_organization: "{{ github_organization }}",
github_repo_user: "{{ lookup('env', 'GH_USERNAME') }}",
github_repo_token: "{{ lookup('env', 'GH_ACCESS_TOKEN') }}"
}
- {
role: github_repo,
github_repo_projects: "{{ properties }}",
github_repo_organization: "{{ github_organization }}",
github_repo_user: "{{ lookup('env', 'GH_USERNAME') }}",
github_repo_token: "{{ lookup('env', 'GH_ACCESS_TOKEN') }}"
}
- {
role: github_repo_microservice,
github_repo_microservice_projects: "{{ projects }}",
github_repo_microservice_organization: "{{ github_organization }}",
}
- {
role: github_repo_docs,
github_repo_docs_organization: "{{ github_organization }}",
github_repo_docs_projects: "{{ projects }}",
github_repo_docs_tools: "{{ tools }}",
}
- {
role: github_repo_properties,
github_repo_properties_organization: "{{ github_organization }}",
github_repo_properties_projects: "{{ projects }}",
github_repo_properties_tools: "{{ tools }}",
}