This may just be git_content_t in rhel7

This commit is contained in:
Kevin Fenzi 2015-09-25 14:52:55 +00:00
parent ee90c2bf27
commit 275713789e

View file

@ -292,8 +292,8 @@
- httpd/website
- name: /git/ansible file contexts
command: semanage fcontext -a -t httpd_git_content_t "/git/ansible(/.*)?"
when: webdir.stdout.find('httpd_git_content_t') == -1
command: semanage fcontext -a -t git_content_t "/git/ansible(/.*)?"
when: webdir.stdout.find('git_content_t') == -1
tags:
- config
- batcave
@ -314,8 +314,8 @@
- httpd/website
- name: /git/badges file contexts
command: semanage fcontext -a -t httpd_git_content_t "/git/badges(/.*)?"
when: webdir.stdout.find('httpd_git_content_t') == -1
command: semanage fcontext -a -t git_content_t "/git/badges(/.*)?"
when: webdir.stdout.find('git_content_t') == -1
tags:
- config
- batcave
@ -336,8 +336,8 @@
- httpd/website
- name: /git/dns file contexts
command: semanage fcontext -a -t httpd_git_content_t "/git/dns(/.*)?"
when: webdir.stdout.find('httpd_git_content_t') == -1
command: semanage fcontext -a -t git_content_t "/git/dns(/.*)?"
when: webdir.stdout.find('git_content_t') == -1
tags:
- config
- batcave
@ -358,8 +358,8 @@
- httpd/website
- name: /git/infra-docs file contexts
command: semanage fcontext -a -t httpd_git_content_t "/git/infra-docs(/.*)?"
when: webdir.stdout.find('httpd_git_content_t') == -1
command: semanage fcontext -a -t git_content_t "/git/infra-docs(/.*)?"
when: webdir.stdout.find('git_content_t') == -1
tags:
- config
- batcave