From c34e661986e869ba1a6e5738f8a665961ddc7203 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 30 Nov 2023 13:44:30 +0100 Subject: [PATCH] Path to mattermost --- playbooks/mattermost.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/playbooks/mattermost.yaml b/playbooks/mattermost.yaml index 96c81c0..c6afd0f 100644 --- a/playbooks/mattermost.yaml +++ b/playbooks/mattermost.yaml @@ -9,7 +9,7 @@ tasks: - name: Have mattermost allready installed stat: - path: /usr/local/bin/mattermost + path: /usr/local/bin/mattermost-desktop register: have_mattermost - name: Download mattermost package ansible.builtin.command: @@ -25,6 +25,7 @@ ansible.builtin.command: chdir: /tmp cmd: bash -c "mv mattermost-desktop-* /opt/mattermost-desktop" + creates: /opt/mattermost-desktop become: true when: not have_mattermost.stat.exists - name: install mattermost desktop link