make it work with --check

This commit is contained in:
Miroslav Suchý 2015-05-14 16:37:21 +02:00
parent b78d1f277e
commit 0ad372be03

View file

@ -178,7 +178,7 @@
- name: update selinux context for results if root folder does not have proper type
command: "restorecon -vvRF /var/lib/copr/public_html/"
when: "'copr_data_t' not in public_html_ls.stdout "
when: public_html_ls is defined and 'copr_data_t' not in public_html_ls.stdout
- name: install cert to access fed-cloud09
# TODO: remove this when fed-cloud09 receives external cert