23 lines
489 B
YAML
23 lines
489 B
YAML
---
|
|
- name: Install dependencies
|
|
ansible.builtin.package:
|
|
name: "{{ item }}"
|
|
state: installed
|
|
with_items:
|
|
- git
|
|
- python3
|
|
- python3-pip
|
|
|
|
- name: Copy package
|
|
ansible.builtin.git:
|
|
dest: /usr/local/src/opencollab
|
|
repo: "https://github.com/graphingwiki/opencollab.git"
|
|
umask: "0022"
|
|
version: python3
|
|
|
|
- name: Install package
|
|
ansible.builtin.pip:
|
|
name: /usr/local/src/opencollab
|
|
umask: "0022"
|
|
executable: pip3
|
|
extra_args: --no-index
|