---
# Install static JSON file needed by gnome-software, on proxies.
- name: Copy static JSON file into place
  ansible.builtin.copy: src=pkgdb-gnome-software-collections.json dest=/srv/web/pkgdb-gnome-software-collections.json owner=root group=root mode=755
  tags:
  - gnome-software
  - pkgdb2

- name: Copy httpd config
  ansible.builtin.copy: src=pkgdb-gnome-software.conf dest=/etc/httpd/conf.d/admin.fedoraproject.org/pkgdb.conf owner=root group=root mode=755
  notify:
  - Reload apache
  tags:
  - gnome-software
  - pkgdb2
