ansible-role-kojihub/tasks/plugins.yml

16 lines
441 B
YAML
Raw Normal View History

2020-12-23 03:52:59 +00:00
---
# Plugins
- name: Deploying enabled plugins
2022-03-28 02:54:44 +00:00
ansible.builtin.copy:
2020-12-23 03:52:59 +00:00
src: "plugins/{{ item }}.py"
dest: "/usr/lib/koji-hub-plugins/{{ item }}.py"
mode: 0755
with_items: "{{ koji_hub_plugins_list }}"
- name: Configuring enabled plugins
2022-03-28 02:54:44 +00:00
ansible.builtin.template:
2020-12-23 03:52:59 +00:00
src: "etc/koji-hub/plugins/{{ item }}.conf.j2"
dest: "/etc/koji-hub/plugins/{{ item }}.conf"
mode: 0644
with_items: "{{ koji_hub_plugins_list }}"