---

- name: provide /etc/faf/faf.conf
  template:
    src: etc-faf-faf.conf.j2
    dest: /etc/faf/faf.conf

# setup fedora-messaging
- name: create the config folder for fedora-messaging
  file:
    path: /etc/fedora-messaging/
    owner: root
    group: root
    mode: 0755
    state: directory
  when: faf_with_fedmsg|bool

- name: provide configuration for fedora-messaging
  template:
    src: etc-fedora-messaging-config.toml.j2
    dest: /etc/fedora-messaging/config.toml
  when: faf_with_fedmsg|bool
