--- - name: Dependencies installed community.general.pkgng: name: py311-paperless-ngx state: latest - name: Nginx location file installed copy: src: nginx-location.conf dest: /usr/local/etc/nginx/locations/paperless.conf mode: 0644 notify: Nginx restarted - name: Paperless conf file installed template: src: paperless.conf.j2 dest: /usr/local/etc/paperless.conf owner: root mode: 0644 - name: Gotenberg source cloned git: repo: "https://github.com/gotenberg/gotenberg.git" dest: /usr/local/src/gotenberg/ update: yes force: yes - name: Gotenberg binary built shell: chdir: /usr/local/src/gotenberg/cmd/gotenberg cmd: go build . - name: Gotenberg installed ansible.builtin.copy: src: /usr/local/src/gotenberg/cmd/gotenberg/gotenberg dest: /usr/local/bin/gotenberg remote_src: yes mode: a+x - name: Tika server installed get_url: url: https://dlcdn.apache.org/tika/2.9.2/tika-server-standard-2.9.2.jar dest: /usr/local/bin/ mode: a+x - name: Paperless immortal file installed ansible.builtin.copy: src: immortal-paperless.yml dest: /usr/local/etc/immortal/paperless.yml notify: Immortal restarted - name: qCluster immortal file installed ansible.builtin.copy: src: immortal-qcluster.yml dest: /usr/local/etc/immortal/qcluster.yml notify: Immortal restarted - name: Tika immortal file installed ansible.builtin.copy: src: immortal-tika.yml dest: /usr/local/etc/immortal/tika.yml notify: Immortal restarted - name: Gotenberg immortal file installed ansible.builtin.copy: src: immortal-gotenberg.yml dest: /usr/local/etc/immortal/gotenberg.yml notify: Immortal restarted - name: Consumer immortal file installed ansible.builtin.copy: src: immortal-consumer.yml dest: /usr/local/etc/immortal/consumer.yml notify: Immortal restarted