This may just be git_content_t in rhel7
This commit is contained in:
parent
ee90c2bf27
commit
275713789e
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue