0005-bootstrap-clone-repositories-locally-when-git_ssh-is.patch
bootstrap.yaml | ||
---|---|---|
4 | 4 |
gather_facts: False |
5 | 5 | |
6 | 6 |
tasks: |
7 |
- name: create local source folder |
|
8 |
local_action: command mkdir {{ src_dir }} |
|
9 |
ignore_errors: yes |
|
10 |
when: git_ssh |
|
11 | ||
12 |
- name: clone publik repositories |
|
13 |
local_action: command git clone ssh://git@git.entrouvert.org/{{ item.key }}.git {{ src_dir }}/{{ item.key }} |
|
14 |
with_dict: "{{ apps }}" |
|
15 |
ignore_errors: yes |
|
16 |
when: git_ssh |
|
17 | ||
7 | 18 |
- raw: dpkg -s python || (apt update && apt install -y python python-simplejson python-apt) |
8 | 19 |
- raw: dpkg -s sudo || apt install -y sudo |
9 | 20 |
- raw: dpkg -s postgresql || apt install -y postgresql |
10 |
- |