Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
94e0a7a3
Commit
94e0a7a3
authored
Dec 29, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/aurweb/tasks/main.yml
View file @
94e0a7a3
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment