summaryrefslogtreecommitdiffstats
path: root/roles/local_deploy
diff options
context:
space:
mode:
Diffstat (limited to 'roles/local_deploy')
-rw-r--r--roles/local_deploy/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/local_deploy/tasks/main.yml b/roles/local_deploy/tasks/main.yml
index e7ee0a4..5b39bf0 100644
--- a/roles/local_deploy/tasks/main.yml
+++ b/roles/local_deploy/tasks/main.yml
@@ -4,6 +4,8 @@
- ansible
- git
+- command: semanage fcontext -t git_user_content_t -a '{{ git_repositories_dir }}(/.*)?'
+
- file: path={{ git_repositories_dir }} state=directory
- file: path={{ git_repositories_dir }}/{{ item }} state=directory
@@ -21,7 +23,6 @@
- public
- private
-
- copy: src={{ item }} dest=/usr/local/bin/{{ item }} mode=0755
with_items:
- ansible_run.sh