ansible-role-kojihub/tasks/plugins.yml

16 lines
409 B
YAML
Raw Normal View History

2020-12-23 03:52:59 +00:00
---
# 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 }}"