diff --git a/roles/bodhi2/base/tasks/main.yml b/roles/bodhi2/base/tasks/main.yml index 17cc640db3..dc7592c80d 100644 --- a/roles/bodhi2/base/tasks/main.yml +++ b/roles/bodhi2/base/tasks/main.yml @@ -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