mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 12:35:30 +08:00
[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:
@@ -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
|
||||
Reference in New Issue
Block a user