mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 19:06:39 +08:00
builders: run keytab/service after kojid is installed because it needs /etc/kojid/ to be there
This commit is contained in:
@@ -19,16 +19,16 @@
|
||||
roles:
|
||||
- base
|
||||
- { role: nfs/client, mnt_dir: '/mnt/fedora_koji', nfs_src_dir: "{{ koji_hub_nfs }}", when: koji_hub_nfs is defined }
|
||||
- role: keytab/service
|
||||
kt_location: /etc/kojid/kojid.keytab
|
||||
service: compile
|
||||
when: env == "staging"
|
||||
- koji_builder
|
||||
- koji_builder
|
||||
- { role: bkernel, when: inventory_hostname.startswith('bkernel') }
|
||||
- hosts
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') }
|
||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') }
|
||||
- role: keytab/service
|
||||
kt_location: /etc/kojid/kojid.keytab
|
||||
service: compile
|
||||
when: env == "staging"
|
||||
|
||||
tasks:
|
||||
- include: "{{ tasks }}/2fa_client.yml"
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
- { role: nfs/client, mnt_dir: '/mnt/fedora_koji', nfs_src_dir: "{{ koji_hub_nfs }}" }
|
||||
- { role: fas_client, when: not inventory_hostname.startswith('bkernel') }
|
||||
- { role: sudo, when: not inventory_hostname.startswith('bkernel') }
|
||||
- koji_builder
|
||||
- role: keytab/service
|
||||
kt_location: /etc/kojid/kojid.keytab
|
||||
service: compile
|
||||
when: env == "staging" or krb_builder
|
||||
- koji_builder
|
||||
- {
|
||||
role: osbs-client,
|
||||
when: env == 'staging' and ansible_architecture == 'x86_64',
|
||||
|
||||
Reference in New Issue
Block a user