]> freie-schul-it.de Git - fsit_smgt.git/blobdiff - tasks/collabora.yml
nfs main dir
[fsit_smgt.git] / tasks / collabora.yml
index 5a484111e862b2c16cada4b38bc3761a0da58156..ba9c58eda231b93d9097fe51289226ca980e10e0 100644 (file)
     pkg:
       - coolwsd
       - code-brand
     pkg:
       - coolwsd
       - code-brand
-- name: Insert lines with external Nextcloud-IPs
-  ansible.builtin.blockinfile:
+#- name: Insert lines with external Nextcloud-IPs
+#  ansible.builtin.blockinfile:
+#    dest: /etc/coolwsd/coolwsd.xml
+#    insertbefore: "</post_allow>"
+#    block: |
+#      <host desc={{ fsit_smgt_collabora_post_allow }}</host>
+#    backup: yes
+#  notify:
+#    - Restart coolwsd service
+- name: Temporary copy config file
+  ansible.builtin.copy:
+    src: collabora_coolwsd.xml
     dest: /etc/coolwsd/coolwsd.xml
     dest: /etc/coolwsd/coolwsd.xml
-    insertbefore: "</post_allow>"
-    block: |
-      <host desc={{ fsit_smgt_collabora_post_allow }}</host>
     backup: yes
   notify:
     - Restart coolwsd service
     backup: yes
   notify:
     - Restart coolwsd service
-