- name: Install sigul bridge
  package: state=present name=sigul-bridge
  tags:
  - packages
  - sigul
  - sigul/bridge

- name: Setup sigul bridge.conf
  template: src=bridge.conf.j2 dest=/etc/sigul/bridge.conf
            owner=sigul group=sigul mode=0640
  tags:
  - config
  - sigul
  - sigul/bridge

- name: Setup primary koji config file
  template: src=koji-primary.conf.j2 dest=/etc/koji-primary.conf owner=root group=root mode=644
  when: inventory_hostname.startswith('sign')
  tags:
  - sigul
  - sigul/bridge
