waiverdb role: no fedmsg on dev
This commit is contained in:
parent
399bb3170a
commit
00df0d9d3b
3 changed files with 3 additions and 12 deletions
|
@ -16,14 +16,3 @@ description: waverdb development instance
|
||||||
cloud_networks:
|
cloud_networks:
|
||||||
# persistent-net
|
# persistent-net
|
||||||
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
- net-id: "67b77354-39a4-43de-b007-bb813ac5c35f"
|
||||||
|
|
||||||
# These are consumed by a task in roles/fedmsg/base/main.yml
|
|
||||||
fedmsg_active: True
|
|
||||||
fedmsg_cert_prefix: waiverdb
|
|
||||||
|
|
||||||
fedmsg_certs:
|
|
||||||
- service: waiverdb
|
|
||||||
owner: root
|
|
||||||
group: fedmsg
|
|
||||||
can_send:
|
|
||||||
- waiverdb.new
|
|
||||||
|
|
|
@ -29,6 +29,5 @@
|
||||||
- include: "{{ handlers_path }}/restart_services.yml"
|
- include: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- fedmsg/base
|
|
||||||
- nginx
|
- nginx
|
||||||
- waiverdb
|
- waiverdb
|
||||||
|
|
|
@ -9,3 +9,6 @@ SQLALCHEMY_DATABASE_URI = 'postgresql://waiverdb-user@:{{ waiverdb_db_port }}/wa
|
||||||
OIDC_CLIENT_SECRETS = '/etc/waiverdb/client_secrets.json'
|
OIDC_CLIENT_SECRETS = '/etc/waiverdb/client_secrets.json'
|
||||||
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
|
OIDC_REQUIRED_SCOPE = 'https://waiverdb.fedoraproject.org/oidc/create-waiver'
|
||||||
OIDC_RESOURCE_SERVER_ONLY = True
|
OIDC_RESOURCE_SERVER_ONLY = True
|
||||||
|
{% if env == "dev" %}
|
||||||
|
ZEROMQ_PUBLISH = False
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue