Do not semanage /usr/share/bodhi/.fedora on stg.

It does not exist.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2017-11-07 19:51:41 +00:00
parent e0037fcbf0
commit 7e9324b189

View file

@ -175,7 +175,7 @@
- name: /usr/share/bodhi/.fedora file contexts
command: semanage fcontext -a -t httpd_sys_rw_content_t "/usr/share/bodhi/.fedora"
when: homedir.stdout.find('httpd_sys_content_t') == -1
when: homedir.stdout.find('httpd_sys_content_t') == -1 and env == 'production'
tags:
- config
- bodhi