ansible-ops-management/tasks/init-koji.yml

83 lines
2.1 KiB
YAML
Raw Normal View History

2023-04-13 22:19:30 +00:00
---
# Init koji
- name: kinit as koji admin using password
2023-09-21 06:28:29 +00:00
ansible.builtin.shell: "set -o pipefail && echo \"{{ rockykoji_password }}\" | kinit rockykoji@ROCKYLINUX.ORG"
2023-04-13 22:19:30 +00:00
check_mode: false
changed_when: "1 != 1"
become: true
become_user: koji
when: rockykoji_has_password | bool
- name: kinit as koji admin using keytab
2023-09-21 06:28:29 +00:00
ansible.builtin.shell: "set -o pipefail && kinit -kt /home/koji/.koji/keytab koji/rockykoji@ROCKYLINUX.ORG"
2023-04-13 22:19:30 +00:00
check_mode: false
changed_when: "1 != 1"
become: true
become_user: koji
when: not rockykoji_has_password | bool
- name: Import current necessary tags
2023-09-21 06:28:29 +00:00
ansible.builtin.shell: "set -o pipefail && koji add-tag {{ item }}"
2023-04-13 22:19:30 +00:00
changed_when: "1 != 1"
become: true
become_user: koji
loop:
- build-modules
- dist-rocky8
- dist-rocky8-build
- dist-rocky8-compose
- dist-rocky8-extras
- dist-rocky8-gcc-toolset-9-build
- dist-rocky8-modular-buildrequires
- dist-rocky8-module-compose
- dist-rocky8-plus
- dist-rocky8-rust-bootstrap
- dist-rocky8-rust-bootstrap-build
- dist-rocky8-updates
- dist-rocky8-updates-build
- dist-rocky8_0-updates-build
- dist-rocky8_1-gcc-toolset-9-build
- dist-rocky8_1-updates-build
- dist-rocky8_2-updates-build
- dist-rocky8_3-updates-build
- dist-rocky8_4-updates-build
- dist-rocky8_5-updates-build
- dist-rocky8_6-updates-build
- dist-rocky8_7-updates-build
- dist-rocky8_8-updates-build
2023-09-21 06:28:29 +00:00
- dist-rocky8_9-updates-build
- dist-rocky8_10-updates-build
- dist-rocky9.0
- dist-rocky9.1
- dist-rocky9.2
2023-04-13 22:19:30 +00:00
- el8
- el8_0
- el8_1
- el8_2
- el8_3
- el8_4
- el8_5
- el8_6
- el8_7
- el8_8
2023-09-21 06:28:29 +00:00
- el8_9
- el8_10
2023-04-13 22:19:30 +00:00
- el8_infra
- el9
- el9_infra
- eln
- modular-updates-candidate
- module-rocky-8.0.0-build
- module-rocky-8.1.0-build
- module-rocky-8.2.0-build
- module-rocky-8.3.0-build
- module-rocky-8.5.0-build
- module-rocky-8.6.0-build
- module-rocky-8.7.0-build
- module-rocky-8.8.0-build
- module-rocky-8.9.0-build
2023-09-21 06:28:29 +00:00
- module-rocky-8.10.0-build
2023-04-13 22:19:30 +00:00
- trash
- trashcan
...