Path to mattermost
This commit is contained in:
parent
07b070cba0
commit
c34e661986
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue