[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:
Michal Konečný 2022-09-27 12:15:41 +02:00
parent 9affa5f80a
commit 2326ab1da9
2 changed files with 9 additions and 1 deletions

View file

@ -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

View file

@ -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