ansible/roles/opencollab/tasks/main.yml
Timo Makinen 3eff758f5c opencollab: Initial version of role
This will download opencollab from github and install it with pip2.
Unfortunately ansible pip only checks if module is installed so
new versions are not updated automatically.

Running "pip2 uninstall opencollab" should trigger update on next
ansible run.
2021-03-12 15:41:44 +00:00

22 lines
410 B
YAML

---
- 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"
version: fix-ssl-sni
- name: install package
pip:
name: /usr/local/src/opencollab
umask: "0022"
executable: pip2
extra_args: --no-index