diff options
| author | Luke Hoersten <[email protected]> | 2024-07-29 12:41:57 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2024-07-29 12:41:57 -0500 |
| commit | 874be10f6646a66cd0e994963b2746ad48f5b73e (patch) | |
| tree | 55ae0f767213c5e5636c24e12f5a6bdf991b45a7 /dendrite/server/tasks/main.yaml | |
| parent | 1eca8fa42311b1723d711b385e951831e110d7f1 (diff) | |
Cleaned up always-changed status tasks.
Diffstat (limited to 'dendrite/server/tasks/main.yaml')
| -rw-r--r-- | dendrite/server/tasks/main.yaml | 8 |
1 files changed, 3 insertions, 5 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" |
