Commit 94e0a7a3 authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Merge branch 'fix_aur_role_py' into 'master'

Fix python module deployment issues

Closes #164

See merge request !204
parents efb39559 0a93bb44
Pipeline #4259 passed with stage
in 47 seconds
......@@ -102,11 +102,18 @@
become_user: "{{ aurweb_user }}"
when: release.changed or db_created.changed
- name: Check python module availability
command: "python3 -c 'import aurweb'"
ignore_errors: yes
register: aurweb_installed
tags:
- skip_ansible_lint
- name: Install python module
command: "python3 setup.py install --install-scripts=/usr/local/bin"
args:
chdir: "{{ aurweb_dir }}"
creates: /usr/local/bin/aurweb-*
when: release.changed or aurweb_installed.rc != 0
- name: Generate HTML documentation
make:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment