You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-msvsphere.ci/roles/koji_builder/README.md

42 lines
1.6 KiB

# msvsphere.ci.koji_builder
An Ansible role that configures a Koji builder.
## Variables
| Variable | Default value | Type | Description | Required |
| -------- | ------------- | ---- | ----------- | -------- |
| koji_domain_name | | str | Koji server domain name. | yes |
| koji_kerberos_realm | | str | Koji Kerberos realm. | yes |
| koji_builder_git_server_url | "git.inferitos.ru" | str | Sources git server domain name. | no |
| koji_builder_storage_url | "sources.inferitos.ru" | str | Sources storage domain name. | no |
| koji_builder_storage_proto | "http" | str | Sources storage protocol. | no |
| koji_builder_ca_cert_path | "/mnt/koji/koji-ca.crt" | str | Koji CA certificate path. | no |
| koji_builder_principal | "compile/{{ koji_domain_name }}@{{ koji_kerberos_realm }}" | str | Koji builder Kerberos principal. | no |
| koji_builder_keytab | "/etc/kojid/kojid.keytab" | str | Koji builder Kerberos keytab file path. | no |
| koji_builder_nfs_mount | true | bool | Mount /mnt/koji via NFS if true, use local directory otherwise. | no |
| koji_builder_distribution | MSVSphere | str | RPM distribution macros. | no |
| koji_builder_packager | MSVSphere | str | RPM packager macros. | no |
| koji_builder_vendor | MSVSphere | str | RPM vendor macros. | no |
## Example playbook
```yaml
---
- hosts: all
roles:
- role: msvsphere.ci.koji_builder
koji_domain_name: 'koji.msvsphere.test'
koji_builder_nfs_mount: false
koji_kerberos_realm: 'MSVSPHERE.TEST'
koji_builder_ca_cert_path: '/etc/pki/koji/koji-ca.crt'
```
## License
MIT.
## Authors
* [Eugene Zamriy](mailto:ezamriy@msvsphere-os.ru)