ansible-role-kojihub/tasks/plugins.yml
nazunalika 0bccf61c87 koji!
2020-12-22 20:52:59 -07:00

16 lines
409 B
YAML

---
# Plugins
- name: Deploying enabled plugins
copy:
src: "plugins/{{ item }}.py"
dest: "/usr/lib/koji-hub-plugins/{{ item }}.py"
mode: 0755
with_items: "{{ koji_hub_plugins_list }}"
- name: Configuring enabled plugins
template:
src: "etc/koji-hub/plugins/{{ item }}.conf.j2"
dest: "/etc/koji-hub/plugins/{{ item }}.conf"
mode: 0644
with_items: "{{ koji_hub_plugins_list }}"