roles/koji-client: Configure the koji client
The *koji-client* role is a generic role that can be used to configure the Koji client library/`koji` CLI tool. By default, it manages the default configuration at `/etc/koji`, but by using the `koji_client_dir`, `koji_client_user`, and `koji_client_id` variables, it can be used to configure per-user client configuration as well.
This commit is contained in:
15
roles/koji-client/defaults/main.yml
Normal file
15
roles/koji-client/defaults/main.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
koji_client_id: '{{ inventory_hostname }}'
|
||||
koji_client_dir: ~/.koji
|
||||
koji_config_path: /etc/koji.conf
|
||||
koji_client_user: '{{ ansible_user_id }}'
|
||||
koji_client_group: '{{ koji_client_user }}'
|
||||
koji_client_dir_mode: '0755'
|
||||
koji_client_config_mode: '0644'
|
||||
koji_client_cert_mode: '0600'
|
||||
|
||||
kojihub_host: "{{ ansible_fqdn }}"
|
||||
kojihub_url: https://{{ kojihub_host }}/kojihub
|
||||
kojiweb_hostname: "{{ kojihub_host }}"
|
||||
kojiweb_url: https://{{ kojiweb_hostname }}/koji
|
||||
kojifiles_host: "{{ kojihub_host }}"
|
||||
kojifiles_url: http://{{ kojifiles_host }}/kojifiles
|
||||
Reference in New Issue
Block a user