Create koji_shadow user and give it the shadow/ keytab
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
135b45fe5e
commit
e39d0146cf
2 changed files with 9 additions and 1 deletions
|
@ -33,11 +33,12 @@
|
|||
- role: keytab/service
|
||||
service: kojira
|
||||
host: "koji{{env_suffix}}.fedoraproject.org"
|
||||
- koji_hub
|
||||
- role: keytab/service
|
||||
service: shadow
|
||||
owner_user: koji_shadow
|
||||
host: "koji{{env_suffix}}.fedoraproject.org"
|
||||
when: "fedmsg_koji_instance != 'primary'"
|
||||
- koji_hub
|
||||
- { role: nfs/server, when: env == "staging" }
|
||||
- { role: keepalived, when: env == "production" and inventory_hostname.startswith('koji') }
|
||||
- role: nfs/client
|
||||
|
|
|
@ -439,3 +439,10 @@
|
|||
tags:
|
||||
- files
|
||||
- koji_hub
|
||||
|
||||
- name: Create shadow user
|
||||
user: name=koji_shadow
|
||||
when: "fedmsg_koji_instance != 'primary'"
|
||||
tags:
|
||||
- files
|
||||
- koji_hub
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue