Pkgs needs a custom keytab

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-12-09 06:08:22 +00:00
parent cfe300ec31
commit 75c814b050

View file

@ -10,6 +10,14 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
pre_tasks:
- name: Copy keytab
copy: src={{private}}/files/keytabs/{{env}}/pkgs
dest=/etc/httpd.keytab
user=httpd group=httpd mode=0600
tags:
- krb5
roles:
- base
- rkhunter
@ -18,18 +26,6 @@
- collectd/base
- sudo
- apache
- role: keytab/service
owner_user: apache
owner_group: apache
service: HTTP
host: "{{inventory_hostname}}"
when: env == "staging"
- role: keytab/service
owner_user: apache
owner_group: apache
service: HTTP
host: "pkgs.fedoraproject.org"
when: env == "production"
- gitolite/base
- cgit/base
- cgit/clean_lock_cron