rename stuff

This commit is contained in:
Lennard Brinkhaus 2024-02-03 22:47:53 +01:00
parent 2151907afe
commit 2702ae93f9
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
2 changed files with 16 additions and 25 deletions

View File

@ -1,24 +1,24 @@
- name: "Restart Paperless" - name: "Restart Nextcloud App"
ansible.builtin.service: ansible.builtin.service:
name: paperless-ngx name: nextcloud-ngx
state: restarted state: restarted
- name: "Restart Paperless Redis" - name: "Restart Nextcloud Redis"
systemd_service: systemd_service:
name: paperless-ngx-redis name: nextcloud-redis
state: restarted state: restarted
- name: "Restart Paperless Tika" - name: "Restart Nextcloud Cron"
systemd_service: systemd_service:
name: paperless-ngx-tika name: nextcloud-cron
state: restarted state: restarted
- name: "Restart Paperless Gotenberg" - name: "Restart Nextcloud Web"
systemd_service: systemd_service:
name: paperless-ngx-gotenberg name: nextcloud-web
state: restarted state: restarted
- name: "Restart Paperless Postgres" - name: "Restart Nextcloud Postgres"
systemd_service: systemd_service:
name: paperless-ngx-postgres name: nextcloud-postgres
state: restarted state: restarted

View File

@ -76,22 +76,10 @@
daemon_reload: true daemon_reload: true
when: ansible_service_mgr == "systemd" when: ansible_service_mgr == "systemd"
- name: Start Paperless-ngs Redis - name: Start Nextcloud Redis
systemd_service: systemd_service:
enabled: true enabled: true
name: paperless-ngx-redis name: nextcloud-redis
state: started
- name: Start Paperless-ngs Tika
systemd_service:
enabled: true
name: paperless-ngx-tika
state: started
- name: Start Paperless-ngs Gotenberg
systemd_service:
enabled: true
name: paperless-ngx-gotenberg
state: started state: started
- name: Start Paperless-ngs Postgres - name: Start Paperless-ngs Postgres
@ -99,5 +87,8 @@
enabled: true enabled: true
name: paperless-ngx-postgres name: paperless-ngx-postgres
state: started state: started
notify: notify:
- Restart Paperless - Restart Nextcloud App
- Restart Nextcloud Cron
- Restart Nextcloud Web