Files
fedora-infra_ansible/roles/fedmsg/datanommer/tasks/main.yml
Kevin Fenzi b37e3966b3 ansible-report: fix another one
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-11 15:27:19 +00:00

42 lines
840 B
YAML

# This is a *very* simple role. The config needed for fedmsg-relay to operate
# correctly is actually included as part of the fedmsg/base role.
- name: install datanommer packages
package:
state: present
name:
- python-datanommer-consumer
- python-datanommer-models
- python-psycopg2
- datanommer-commands
tags:
- packages
- datanommer
- name: copy alembic config
template: >
src=alembic.ini
dest=/usr/share/datanommer.models/alembic.ini
mode=0640
tags:
- config
- datanommer
notify:
- restart fedmsg-hub
- name: copy datanommer config itself
template: >
src="{{ item }}"
dest="/etc/fedmsg.d/{{item}}"
mode=0640
owner=fedmsg
group=nrpe
with_items:
- datanommer.py
- fas-credentials.py
tags:
- config
- datanommer
notify:
- restart fedmsg-hub