updated molotov state
This commit is contained in:
parent
b74838419e
commit
e599e219b8
@ -1,7 +1,9 @@
|
||||
---
|
||||
molotov:
|
||||
url: http://desktop-auto-upgrade.molotov.tv/linux
|
||||
version: 4.4.4
|
||||
version: 4.5.1
|
||||
install_dir: /usr/local/apps
|
||||
release_dir: /usr/local/apps/releases
|
||||
dest_path: /usr/local/bin
|
||||
icon_path: /usr/share/icons/molotov.png
|
||||
desktop_entry_path: /usr/share/applications/molotov.desktop
|
||||
|
@ -1,19 +1,28 @@
|
||||
---
|
||||
{%- from "molotov/map.jinja" import molotov with context %}
|
||||
molotov-dir:
|
||||
file.directory:
|
||||
- name: {{ molotov.release_dir }}/molotov.{{ molotov.version }}
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
||||
|
||||
molotov-install:
|
||||
file.managed:
|
||||
- name: {{ molotov.dest_path }}/molotov.{{ molotov.version }}
|
||||
- name: {{ molotov.release_dir }}/molotov.{{ molotov.version }}/molotov
|
||||
- source: {{ molotov.url }}/Molotov-{{ molotov.version }}.AppImage
|
||||
- skip_verify: true
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
||||
- if_missing: {{ molotov.dest_path }}/molotov.{{ molotov.version }}
|
||||
- if_missing: {{ molotov.release_dir }}/molotov.{{ molotov.version }}/molotov
|
||||
- require:
|
||||
- file: molotov-dir
|
||||
|
||||
molotov-symlink:
|
||||
file.symlink:
|
||||
- name: {{ molotov.dest_path }}/molotov
|
||||
- target: {{ molotov.dest_path }}/molotov.{{ molotov.version }}
|
||||
- target: {{ molotov.release_dir }}/molotov.{{ molotov.version }}/molotov
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: 755
|
||||
|
Loading…
Reference in New Issue
Block a user