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
|
- role: keytab/service
|
||||||
service: kojira
|
service: kojira
|
||||||
host: "koji{{env_suffix}}.fedoraproject.org"
|
host: "koji{{env_suffix}}.fedoraproject.org"
|
||||||
|
- koji_hub
|
||||||
- role: keytab/service
|
- role: keytab/service
|
||||||
service: shadow
|
service: shadow
|
||||||
|
owner_user: koji_shadow
|
||||||
host: "koji{{env_suffix}}.fedoraproject.org"
|
host: "koji{{env_suffix}}.fedoraproject.org"
|
||||||
when: "fedmsg_koji_instance != 'primary'"
|
when: "fedmsg_koji_instance != 'primary'"
|
||||||
- koji_hub
|
|
||||||
- { role: nfs/server, when: env == "staging" }
|
- { role: nfs/server, when: env == "staging" }
|
||||||
- { role: keepalived, when: env == "production" and inventory_hostname.startswith('koji') }
|
- { role: keepalived, when: env == "production" and inventory_hostname.startswith('koji') }
|
||||||
- role: nfs/client
|
- role: nfs/client
|
||||||
|
|
|
@ -439,3 +439,10 @@
|
||||||
tags:
|
tags:
|
||||||
- files
|
- files
|
||||||
- koji_hub
|
- 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