builders: run keytab/service after kojid is installed because it needs /etc/kojid/ to be there

This commit is contained in:
Peter Robinson
2016-11-03 19:03:17 +00:00
parent 246a37280f
commit cd7007a091
2 changed files with 5 additions and 5 deletions

View File

@@ -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"

View File

@@ -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',