Allow a fedmsg cert alias for mm-backend.
This commit is contained in:
parent
bdbc8dd600
commit
99c6e4f840
2 changed files with 3 additions and 2 deletions
|
@ -3,6 +3,7 @@ mem_size: 6144
|
||||||
|
|
||||||
fedmsg_certs:
|
fedmsg_certs:
|
||||||
- service: shell
|
- service: shell
|
||||||
|
alias: mirrormanager
|
||||||
owner: mirrormanager
|
owner: mirrormanager
|
||||||
group: sysadmin
|
group: sysadmin
|
||||||
can_send:
|
can_send:
|
||||||
|
|
|
@ -15,9 +15,9 @@ config = dict(
|
||||||
# This is the set of certs for this host, dynamically generated from the
|
# This is the set of certs for this host, dynamically generated from the
|
||||||
# ``fedmsg_certs`` host vars
|
# ``fedmsg_certs`` host vars
|
||||||
{% for cert in fedmsg_certs %}
|
{% for cert in fedmsg_certs %}
|
||||||
("{{cert['service']}}.{{inventory_hostname_short}}", "{{cert['service']}}-{{fedmsg_fqdn | default(ansible_fqdn)}}"),
|
("{{cert.get('alias', cert['service'])}}.{{inventory_hostname_short}}", "{{cert['service']}}-{{fedmsg_fqdn | default(ansible_fqdn)}}"),
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
] + [
|
] + [
|
||||||
# This is the beginning of the static list. We should eventually remove
|
# This is the beginning of the static list. We should eventually remove
|
||||||
# this.
|
# this.
|
||||||
("git.hosted03", "git-hosted03.vpn.fedoraproject.org"),
|
("git.hosted03", "git-hosted03.vpn.fedoraproject.org"),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue