From b1205b6993443fd6c2a5e6c9e89e102d19b53cd9 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 10 Feb 2015 16:17:10 +0100 Subject: Use the complete path, should help for run in a cron --- roles/git_repositories/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/git_repositories/tasks') diff --git a/roles/git_repositories/tasks/main.yml b/roles/git_repositories/tasks/main.yml index 21f7513..4463e8d 100644 --- a/roles/git_repositories/tasks/main.yml +++ b/roles/git_repositories/tasks/main.yml @@ -3,7 +3,7 @@ with_items: - git -- command: semanage fcontext -t git_user_content_t -a '{{ git_repositories_dir }}(/.*)?' +- command: /sbin/semanage fcontext -t git_user_content_t -a '{{ git_repositories_dir }}(/.*)?' - file: path={{ git_repositories_dir }} state=directory -- cgit