From 45c4d5a9aa2bd2023509faaf0396c55d1b09b081 Mon Sep 17 00:00:00 2001 From: Valentin Gologuzov Date: Wed, 8 Apr 2015 21:47:27 +0200 Subject: [PATCH] [copr] ansible syntax ..... --- roles/copr/backend/tasks/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/copr/backend/tasks/main.yml b/roles/copr/backend/tasks/main.yml index 56d262308c..384af1ad9f 100644 --- a/roles/copr/backend/tasks/main.yml +++ b/roles/copr/backend/tasks/main.yml @@ -172,9 +172,11 @@ - command: "ls -dZ /var/lib/copr/public_html/" register: public_html_ls +- debug: msg="{{ public_html_ls }}" + - 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: "'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