| |
@@ -222,6 +222,16 @@
|
| |
tags:
|
| |
- mediawiki
|
| |
|
| |
+ # Apache creates a FedoraMessaging folder in extensions
|
| |
+ # which causes the symlink to fail
|
| |
+ # The folder is empty anyway, so we can simply delete it
|
| |
+ - name: remove extensions folder created by apache
|
| |
+ ansible.builtin.file:
|
| |
+ state: absent
|
| |
+ path: /srv/web/{{wikiname}}-wiki/extensions
|
| |
+ tags:
|
| |
+ - mediawiki
|
| |
+
|
| |
- name: linking extensions
|
| |
file: dest=/srv/web/{{wikiname}}-wiki/extensions src=/usr/share/{{ wikiver }}/extensions state=link
|
| |
tags:
|
| |
It seems that something is creating the
/srv/web/fp-wiki/extensions
folder nowand this is causing the task to create the same symlink to fail.
As the folder is empty, we can simply remove it before creating the symlink.
Signed-off-by: Michal Konecny mkonecny@redhat.com