[pkgs] A ternary needs 2 arguments. I removed one in the previous commit and should have changed the code completely instead.

This commit is contained in:
Stephen Smoogen 2020-01-15 12:28:12 +00:00 committed by Pierre-Yves Chibon
parent f242d032cd
commit c9f3d2d8be

View file

@ -366,17 +366,17 @@
- src: "{{private}}/files/rabbitmq/{{env}}/pki/issued/pagure{{ env_suffix }}.crt"
dest: src.fp.o.crt
owner: pagure
group: "{{ (env == 'production')|ternary('pagure') }}"
group: pagure
mode: "444"
- src: "{{private}}/files/rabbitmq/{{env}}/pki/private/pagure{{ env_suffix }}.key"
dest: src.fp.o.key
owner: pagure
group: "{{ (env == 'production')|ternary('pagure') }}"
group: pagure
mode: "440"
- src: "{{private}}/files/rabbitmq/{{env}}/pki/ca.crt"
dest: src.fp.o.ca
owner: pagure
group: "{{ (env == 'production')|ternary('pagure') }}"
group: pagure
mode: "444"
tags:
- pagure