opencollab: Initial version of role

This commit is contained in:
Timo Makinen 2021-10-02 14:12:10 +00:00
parent 3f8f941756
commit 9d5db775a4

21
opencollab/tasks/main.yml Normal file
View file

@ -0,0 +1,21 @@
---
- name: install dependencies
package:
name: "{{ item }}"
state: installed
with_items:
- git
- python2
- name: copy package
git:
dest: /usr/local/src/opencollab
repo: "https://github.com/graphingwiki/opencollab.git"
- name: install package
pip:
name: /usr/local/src/opencollab
umask: "0022"
executable: pip2
extra_args: --no-index