batcave01: git repos moved from /git to /srv/git a long while back
We still were expecting them to be in /git. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
da20307fcc
commit
3d5dde0970
1 changed files with 12 additions and 12 deletions
|
@ -449,7 +449,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
- name: check the selinux context of ansible
|
- name: check the selinux context of ansible
|
||||||
command: matchpathcon /srv/ansible.git
|
command: matchpathcon /srv/git/ansible.git
|
||||||
register: webdir
|
register: webdir
|
||||||
check_mode: no
|
check_mode: no
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
@ -460,8 +460,8 @@
|
||||||
- httpd
|
- httpd
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: /git/ansible file contexts
|
- name: /srv/git/ansible file contexts
|
||||||
command: semanage fcontext -a -t git_content_t "/srv/ansible.git(/.*)?"
|
command: semanage fcontext -a -t git_content_t "/srv/git/ansible.git(/.*)?"
|
||||||
when: webdir.stdout.find('git_content_t') == -1
|
when: webdir.stdout.find('git_content_t') == -1
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
@ -471,7 +471,7 @@
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: check the selinux context of badges
|
- name: check the selinux context of badges
|
||||||
command: matchpathcon /git/badges
|
command: matchpathcon /srv/git/badges
|
||||||
register: webdir
|
register: webdir
|
||||||
check_mode: no
|
check_mode: no
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
@ -482,8 +482,8 @@
|
||||||
- httpd
|
- httpd
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: /git/badges file contexts
|
- name: /srv/git/badges file contexts
|
||||||
command: semanage fcontext -a -t git_content_t "/git/badges(/.*)?"
|
command: semanage fcontext -a -t git_content_t "/srv/git/badges(/.*)?"
|
||||||
when: webdir.stdout.find('git_content_t') == -1
|
when: webdir.stdout.find('git_content_t') == -1
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
@ -493,7 +493,7 @@
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: check the selinux context of dns
|
- name: check the selinux context of dns
|
||||||
command: matchpathcon /git/dns
|
command: matchpathcon /srv/git/dns
|
||||||
register: webdir
|
register: webdir
|
||||||
check_mode: no
|
check_mode: no
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
@ -504,8 +504,8 @@
|
||||||
- httpd
|
- httpd
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: /git/dns file contexts
|
- name: /srv/git/dns file contexts
|
||||||
command: semanage fcontext -a -t git_content_t "/git/dns(/.*)?"
|
command: semanage fcontext -a -t git_content_t "/srv/git/dns(/.*)?"
|
||||||
when: webdir.stdout.find('git_content_t') == -1
|
when: webdir.stdout.find('git_content_t') == -1
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
@ -515,7 +515,7 @@
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: check the selinux context of infra-docs
|
- name: check the selinux context of infra-docs
|
||||||
command: matchpathcon /git/infra-docs
|
command: matchpathcon /srv/git/infra-docs
|
||||||
register: webdir
|
register: webdir
|
||||||
check_mode: no
|
check_mode: no
|
||||||
changed_when: "1 != 1"
|
changed_when: "1 != 1"
|
||||||
|
@ -526,8 +526,8 @@
|
||||||
- httpd
|
- httpd
|
||||||
- httpd/website
|
- httpd/website
|
||||||
|
|
||||||
- name: /git/infra-docs file contexts
|
- name: /srv/git/infra-docs file contexts
|
||||||
command: semanage fcontext -a -t git_content_t "/git/infra-docs(/.*)?"
|
command: semanage fcontext -a -t git_content_t "/srv/git/infra-docs(/.*)?"
|
||||||
when: webdir.stdout.find('git_content_t') == -1
|
when: webdir.stdout.find('git_content_t') == -1
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue