Let distgit install its own fas.conf after the first run of fas_client

This commit is contained in:
Pierre-Yves Chibon 2015-01-23 15:06:47 +01:00
parent c738b857ad
commit 79eb0db7c0
2 changed files with 108 additions and 0 deletions

View file

@ -31,6 +31,18 @@
- name: allow httpd to access the files on NFS
seboolean: name=httpd_use_nfs state=yes persistent=yes
- name: setup our own /etc/fas.conf with the proper fas_client_admin_app and fas_client_restricted_app var
template: src={{ item }} dest=/etc/fas.conf owner=root mode=600
with_items:
- fas.conf.j2
tags:
- config
- fas_client
notify:
- run fasclient
# -- Dist Git --------------------------------------------
# This is the Git setup itself: group, root directory, scripts,...
- name: create the distgit root directory (/srv/git)