src.nth.io/

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dendrite/server/tasks/main.yaml8
-rw-r--r--nostr/relayer/tasks/main.yaml1
-rw-r--r--pleroma/otp/tasks/instance.yaml1
-rw-r--r--prosody/files/prosody.sh2
-rw-r--r--prosody/tasks/main.yaml2
-rw-r--r--scrypted/tasks/main.yaml2
6 files changed, 9 insertions, 7 deletions
diff --git a/dendrite/server/tasks/main.yaml b/dendrite/server/tasks/main.yaml
index ae6d64f..7971ee1 100644
--- a/dendrite/server/tasks/main.yaml
+++ b/dendrite/server/tasks/main.yaml
@@ -10,6 +10,7 @@
path: "/tmp/dendrite/"
state: "directory"
mode: "0755"
+ changed_when: false
- name: unarchive dendrite bins
become: yes
@@ -17,7 +18,7 @@
remote_src: yes
src: "{{dendrite_tar}}"
dest: "/tmp/dendrite/"
- notify: restart service
+ changed_when: false
- name: install dendrite binary
become: yes
@@ -79,6 +80,7 @@
owner: "postgres"
group: "postgres"
mode: "0600"
+ changed_when: false
- name: install db schema psql
become: yes
@@ -103,10 +105,6 @@
dest: "/lib/systemd/system/[email protected]"
notify: restart service
-- name: ensure instance service is stopped
- become: yes
- systemd: name="dendrite@{{dendrite_port}}.service" enabled="no" state="stopped" daemon_reload="yes"
-
- name: ensure service is started
become: yes
systemd: name="dendrite@{{dendrite_port}}.service" enabled="yes" state="started"
diff --git a/nostr/relayer/tasks/main.yaml b/nostr/relayer/tasks/main.yaml
index 5127793..ec5f2d1 100644
--- a/nostr/relayer/tasks/main.yaml
+++ b/nostr/relayer/tasks/main.yaml
@@ -48,6 +48,7 @@
owner: "postgres"
group: "postgres"
mode: "0600"
+ changed_when: false
- name: install db schema psql
become: yes
diff --git a/pleroma/otp/tasks/instance.yaml b/pleroma/otp/tasks/instance.yaml
index af282fa..9bb67ac 100644
--- a/pleroma/otp/tasks/instance.yaml
+++ b/pleroma/otp/tasks/instance.yaml
@@ -31,6 +31,7 @@
owner: "{{pleroma_db_superuser}}"
group: "{{pleroma_db_superuser}}"
mode: "0600"
+ changed_when: false
- name: install pleroma psql
become: yes
diff --git a/prosody/files/prosody.sh b/prosody/files/prosody.sh
index 1423b0c..e966ae8 100644
--- a/prosody/files/prosody.sh
+++ b/prosody/files/prosody.sh
@@ -1,3 +1,3 @@
#! /bin/bash
-prosodyctl --root cert import nth.io /etc/letsencrypt/live/nth.io-0001/cert.pem
+prosodyctl --root cert import nth.io /etc/letsencrypt/live/nth.io-0001/fullchain.pem
diff --git a/prosody/tasks/main.yaml b/prosody/tasks/main.yaml
index 97e1f16..041dc35 100644
--- a/prosody/tasks/main.yaml
+++ b/prosody/tasks/main.yaml
@@ -30,7 +30,7 @@
- name: run letsencrypt ssl deploy hook
become: yes
command: "/etc/letsencrypt/renewal-hooks/deploy/prosody.sh"
- notify: restart prosody
+ changed_when: false
- name: install db schema file
become: yes
diff --git a/scrypted/tasks/main.yaml b/scrypted/tasks/main.yaml
index 6ba7e7f..57bf38c 100644
--- a/scrypted/tasks/main.yaml
+++ b/scrypted/tasks/main.yaml
@@ -35,6 +35,7 @@
command: "docker compose pull"
args:
chdir: "{{scrypted_dir}}"
+ changed_when: false
- name: docker compose
become: yes
@@ -42,3 +43,4 @@
command: "docker compose up -d"
args:
chdir: "{{scrypted_dir}}"
+ changed_when: false