[release-monitoring] Scripts are named differently in poetry
Poetry creates it's own script file in /usr/local/ and the name is without .py. Reflect that in ansible. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
9affa5f80a
commit
2326ab1da9
2 changed files with 9 additions and 1 deletions
|
@ -59,7 +59,7 @@
|
|||
objectname: route.yml
|
||||
- role: openshift/object
|
||||
app: release-monitoring
|
||||
file: deploymentconfig.yml
|
||||
template: deploymentconfig.yml
|
||||
objectname: deploymentconfig.yml
|
||||
- role: openshift/rollout
|
||||
app: release-monitoring
|
||||
|
|
|
@ -139,7 +139,11 @@ items:
|
|||
command:
|
||||
- python3
|
||||
args:
|
||||
{% if env == 'staging' %}
|
||||
- /usr/local/bin/check_service
|
||||
{% else %}
|
||||
- /usr/local/bin/check_service.py
|
||||
{% endif %}
|
||||
env:
|
||||
- name: ANITYA_WEB_CONFIG
|
||||
value: /etc/anitya/anitya.toml
|
||||
|
@ -227,7 +231,11 @@ items:
|
|||
command:
|
||||
- python3
|
||||
args:
|
||||
{% if env == 'staging' %}
|
||||
- /usr/local/bin/librariesio_consumer
|
||||
{% else %}
|
||||
- /usr/local/bin/librariesio_consumer.py
|
||||
{% endif %}
|
||||
env:
|
||||
- name: ANITYA_WEB_CONFIG
|
||||
value: /etc/anitya/anitya.toml
|
Loading…
Add table
Add a link
Reference in a new issue