[copr] ansible syntax .....
This commit is contained in:
parent
2bb9052759
commit
45c4d5a9aa
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue