Move keytab generation to later so the bodhi user exists

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-10-03 17:17:12 +00:00
parent 5efcad5495
commit ab6a25d549

View file

@ -24,6 +24,9 @@
- apache
- mod_wsgi
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
- { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" }
- role: keytab/service
owner_user: bodhi
owner_group: bodhi
@ -37,9 +40,6 @@
host: "bodhi.stg.fedoraproject.org"
when: env == "staging"
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
- { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" }
tasks:
- include: "{{ tasks_path }}/yumrepos.yml"
- include: "{{ tasks_path }}/2fa_client.yml"